diff --git a/master.cfg b/master.cfg index f904323..cc6fe59 100644 --- a/master.cfg +++ b/master.cfg @@ -529,84 +529,84 @@ The parameters of the class are: class RunTestGDBPlain_c64t64 (BuildAndTestGDBFactory): """Compiling for 64-bit, testing on 64-bit.""" - def __init__ (self, **kwargs): - BuildAndTestGDBFactory.__init__ (self, **kwargs) + def __init__ (self, architecture_triplet): + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBPlain_c32t32 (BuildAndTestGDBFactory): """Compiling on 32-bit, testing on 32-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_conf_flags = [ r'CFLAGS=-m32' ] self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board unix/-m32' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBm32_c64t32 (BuildAndTestGDBFactory): """Compiling on 64-bit, testing on 32-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board unix/-m32' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBNativeGDBServer_c64t64 (BuildAndTestGDBFactory): """Compiling on 64-bit, testing native-gdbserver on 64-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board native-gdbserver' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBNativeGDBServer_c64t32 (BuildAndTestGDBFactory): """Compiling on 64-bit, testing native-gdbserver on 32-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board native-gdbserver/-m32' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBNativeGDBServer_c32t32 (BuildAndTestGDBFactory): """Compiling on 32-bit, testing native-gdbserver on 32-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_conf_flags = [ 'CFLAGS=-m32'] self.extra_make_check_flags = [ 'RUNTESTFLAGS=--target_board native-gdbserver/-m32'] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBNativeExtendedGDBServer_c64t64 (BuildAndTestGDBFactory): """Compiling on 64-bit, testing native-extended-gdbserver on 64-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board native-extended-gdbserver' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBNativeExtendedGDBServer_c64t32 (BuildAndTestGDBFactory): """Compiling on 64-bit, testing native-extended-gdbserver on 32-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board native-extended-gdbserver/-m32' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBNativeExtendedGDBServer_c32t32 (BuildAndTestGDBFactory): """Compiling on 64-bit, testing native-extended-gdbserver on 32-bit.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_conf_flags = [ 'CFLAGS=-m32'] self.extra_make_check_flags = [ r'RUNTESTFLAGS=--target_board native-extended-gdbserver/-m32' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBIndexBuild (BuildAndTestGDBFactory): """Testing with the "cc-with-tweaks.sh" passing -i.""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_make_check_flags = [ WithProperties (r'CC_FOR_TARGET=/bin/sh %s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i gcc', r'builddir'), WithProperties (r'CXX_FOR_TARGET=/bin/sh %s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i g++', r'builddir') ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBIndexBuild_c32t32 (BuildAndTestGDBFactory): """Testing with the "cc-with-tweaks.sh" passing -i. 32-bit version""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_conf_flags = [ 'CFLAGS=-m32' ] self.extra_make_check_flags = [ WithProperties (r'CC_FOR_TARGET=/bin/sh %s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i gcc', r'builddir'), WithProperties (r'CXX_FOR_TARGET=/bin/sh %s/binutils-gdb/gdb/contrib/cc-with-tweaks.sh -i g++', r'builddir'), 'RUNTESTFLAGS=--target_board unix/-m32' ] - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) # Classes needed for BSD systems class RunTestGDBBSD_Common (BuildAndTestGDBFactory): """Common BSD test configurations""" - def __init__ (self, **kwargs): + def __init__ (self, architecture_triplet): self.extra_conf_flags = [ 'CFLAGS=-I/usr/local/include', '--disable-werror' ] self.make_command = 'gmake' - BuildAndTestGDBFactory.__init__ (self, **kwargs) + BuildAndTestGDBFactory.__init__ (self, architecture_triplet) class RunTestGDBPlainBSD_c64t64 (RunTestGDBPlain_c64t64, RunTestGDBBSD_Common): """Compiling for 64-bit, testing on 64-bit."""