Bug 1430277 - Skip symbolstore.py test when building with --enable-strip. r?build draft
authorMike Hommey <mh+mozilla@glandium.org>
Sat, 13 Jan 2018 07:17:25 +0900
changeset 719937 f5488d84cbb89eed05e2e06c54ff708299d9de73
parent 719928 f5b4481c9fd50becb35cef02b599198b766fb1bb
child 745930 331c186bd1aa974aa6f6fbb2bf99d6fc53c9a237
push id95399
push userbmo:mh+mozilla@glandium.org
push dateFri, 12 Jan 2018 22:41:59 +0000
reviewersbuild
bugs1430277
milestone59.0a1
Bug 1430277 - Skip symbolstore.py test when building with --enable-strip. r?build
toolkit/crashreporter/tools/unit-symbolstore.py
--- a/toolkit/crashreporter/tools/unit-symbolstore.py
+++ b/toolkit/crashreporter/tools/unit-symbolstore.py
@@ -460,16 +460,18 @@ class TestFunctional(HelperMixin, unitte
     don't use the actual process pool like buildsymbols does, this tests
     that the way symbolstore.py gets called in buildsymbols works.
     '''
     def setUp(self):
         HelperMixin.setUp(self)
         self.skip_test = False
         if buildconfig.substs['MOZ_BUILD_APP'] != 'browser':
             self.skip_test = True
+        if buildconfig.substs.get('ENABLE_STRIP'):
+            self.skip_test = True
         self.topsrcdir = buildconfig.topsrcdir
         self.script_path = os.path.join(self.topsrcdir, 'toolkit',
                                         'crashreporter', 'tools',
                                         'symbolstore.py')
         if target_platform() == 'WINNT':
             if buildconfig.substs['MSVC_HAS_DIA_SDK']:
                 self.dump_syms = os.path.join(buildconfig.topobjdir,
                                               'dist', 'host', 'bin',