Fix last commit, 4

This commit is contained in:
Sergio Durigan Junior 2018-09-24 11:17:13 -04:00
parent 1b7c9c582e
commit d59ceeb0a5

View file

@ -1274,25 +1274,28 @@ class RunTestGDBPlainAIX (RunTestGDBAIX_Common, RunTestGDBPlain_c64t64):
# Classes needed for Solaris systems
class RunTestGDBSolaris_Common (BuildAndTestGDBFactory):
"""Common Solaris test configurations"""
# class RunTestGDBSolaris_Common (BuildAndTestGDBFactory):
# """Common Solaris test configurations"""
# def __init__ (self, **kwargs):
# self.enable_targets_all = False
# self.make_command = 'gmake'
# self.run_testsuite = False
# # While a regular gdb build succeeds, a -g -D_GLIBCXX_DEBUG
# # build as used by the buildbot fails as reported in PR
# # build/23676. This can be avoided either by performing a -g
# # -O build or with --disable-unit-tests from Sergio's proposed
# # patch.
# self.extra_CFLAGS = [ '-O' ]
# self.extra_CXXFLAGS = [ '-O' ]
class RunTestGDBPlainSolaris_c64 (BuildAndTestGDBFactory):
"""Compiling for Solaris"""
def __init__ (self, **kwargs):
self.extra_CFLAGS += [ '-m64', '-O' ]
self.extra_CXXFLAGS += [ '-m64', '-O' ]
self.enable_targets_all = False
self.make_command = 'gmake'
self.run_testsuite = False
# While a regular gdb build succeeds, a -g -D_GLIBCXX_DEBUG
# build as used by the buildbot fails as reported in PR
# build/23676. This can be avoided either by performing a -g
# -O build or with --disable-unit-tests from Sergio's proposed
# patch.
self.extra_CFLAGS = [ '-O' ]
self.extra_CXXFLAGS = [ '-O' ]
class RunTestGDBPlainSolaris_c64 (BuildAndTestGDBFactory, RunTestGDBSolaris_Common):
"""Compiling for Solaris"""
def __init__ (self, **kwargs):
self.extra_CFLAGS += [ '-m64' ]
self.extra_CXXFLAGS += [ '-m64' ]
BuildAndTestGDBFactory.__init__ (self, **kwargs)
# All branches that are going to be watched.