mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-29 05:21:23 +01:00
waf_unit_test: make sure test is rerun if ut_str changes
This commit is contained in:
parent
b2c81f8561
commit
cccb443376
@ -108,7 +108,8 @@ def make_test(self):
|
||||
tsk = self.create_task('utest', self.link_task.outputs)
|
||||
if getattr(self, 'ut_str', None):
|
||||
self.ut_run, lst = Task.compile_fun(self.ut_str, shell=getattr(self, 'ut_shell', False))
|
||||
tsk.vars = lst + tsk.vars
|
||||
tsk.env['UT_STR'] = self.ut_str
|
||||
tsk.vars = lst + tsk.vars + ['UT_STR']
|
||||
|
||||
self.handle_ut_cwd('ut_cwd')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user