Pass RUNTESTFLAGS via env (not via command-line) on IndexBuild.

This commit is contained in:
Sergio Durigan Junior 2019-05-18 14:44:23 -04:00
parent f91dd2b170
commit 1cff039d16

View file

@ -1212,7 +1212,7 @@ class RunTestGDBNativeExtendedGDBServer_c32t32 (BuildAndTestGDBFactory):
class RunTestGDBIndexBuild (BuildAndTestGDBFactory):
"""Testing with the "cc-with-tweaks.sh" passing -i."""
def __init__ (self, **kwargs):
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++"') ]
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)
class RunTestGDBIndexBuild_c32t32 (BuildAndTestGDBFactory):