Try passing env via __init__

This commit is contained in:
Sergio Durigan Junior 2019-05-19 11:53:33 -04:00
parent 1cff039d16
commit f98daa0486

View file

@ -823,6 +823,7 @@ BuildBot halt on failure."""
steps.ShellCommand.__init__ (self, decodeRC = { 0 : SUCCESS,
1 : SUCCESS,
2 : SUCCESS },
env = test_env,
**kwargs)
self.workdir = util.Interpolate ("%(prop:builddir)s/build/gdb/testsuite")
@ -830,7 +831,7 @@ BuildBot halt on failure."""
'-k',
'check'] + extra_make_check_flags
self.env = test_env
# self.env = test_env
# Needed because of dejagnu
self.haltOnFailure = False
self.flunkOnFailure = False