Merge branch 'ut_changedvars' into 'master'

waf_unit_test: extend !2302 with ut_cmd and ut_paths as well

See merge request ita1024/waf!2303
This commit is contained in:
ita1024 2020-10-16 15:19:57 +00:00
commit b619648a8f
1 changed files with 1 additions and 1 deletions

View File

@ -140,8 +140,8 @@ def make_test(self):
if not hasattr(self, 'ut_cmd'):
self.ut_cmd = getattr(Options.options, 'testcmd', False)
self.env.append_value('UT_DEPS', str(self.ut_cmd))
self.env.append_value('UT_DEPS', str(self.ut_cmd))
self.env.append_value('UT_DEPS', self.ut_paths)
self.env.append_value('UT_DEPS', ['%r%r' % (key, self.ut_env[key]) for key in self.ut_env])