Add missing quote. Adjust RunTestGDBIndexBuild_c32t32.

This commit is contained in:
Sergio Durigan Junior 2019-05-20 12:28:28 -04:00
parent f98daa0486
commit e65ccabd2c

View file

@ -1213,7 +1213,7 @@ class RunTestGDBNativeExtendedGDBServer_c32t32 (BuildAndTestGDBFactory):
class RunTestGDBIndexBuild (BuildAndTestGDBFactory): class RunTestGDBIndexBuild (BuildAndTestGDBFactory):
"""Testing with the "cc-with-tweaks.sh" passing -i.""" """Testing with the "cc-with-tweaks.sh" passing -i."""
def __init__ (self, **kwargs): def __init__ (self, **kwargs):
self.test_env = { "RUNTESTFLAGS" : util.Interpolate ('CC_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i gcc" CXX_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i g++') } self.test_env = { "RUNTESTFLAGS" : util.Interpolate ('CC_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i gcc" CXX_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i g++"') }
BuildAndTestGDBFactory.__init__ (self, **kwargs) BuildAndTestGDBFactory.__init__ (self, **kwargs)
class RunTestGDBIndexBuild_c32t32 (BuildAndTestGDBFactory): class RunTestGDBIndexBuild_c32t32 (BuildAndTestGDBFactory):
@ -1221,7 +1221,7 @@ class RunTestGDBIndexBuild_c32t32 (BuildAndTestGDBFactory):
def __init__ (self, **kwargs): def __init__ (self, **kwargs):
self.extra_CFLAGS = [ '-m32' ] self.extra_CFLAGS = [ '-m32' ]
self.extra_CXXFLAGS = self.extra_CFLAGS self.extra_CXXFLAGS = self.extra_CFLAGS
self.extra_make_check_flags = [ util.Interpolate ('RUNTESTFLAGS=CC_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i gcc" CXX_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i g++" --target_board unix/-m32') ] self.test_env = { "RUNTESTFLAGS" : util.Interpolate ('CC_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i gcc" CXX_FOR_TARGET="/bin/sh %(prop:builddir)s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i g++"') }
BuildAndTestGDBFactory.__init__ (self, **kwargs) BuildAndTestGDBFactory.__init__ (self, **kwargs)
# Class for only building GDB, without testing # Class for only building GDB, without testing