mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
selftest/wscript: handle lists in environmental variables in waf
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
2a63619c1f
commit
35ebfd3d4e
@ -208,7 +208,11 @@ def cmd_testonly(opt):
|
||||
os.environ['CONFIG_H'] = 'bin/default/include/config.h'
|
||||
|
||||
# tell the test system where perl is
|
||||
os.environ['PERL'] = env.PERL
|
||||
if isinstance(env.PERL, list):
|
||||
perl = ' '.join(env.PERL)
|
||||
else:
|
||||
perl = env.PERL
|
||||
os.environ['PERL'] = perl
|
||||
|
||||
st_done = os.path.join(env.SELFTEST_PREFIX, 'st_done')
|
||||
if os.path.exists(st_done):
|
||||
|
Loading…
Reference in New Issue
Block a user