1
0
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:
Alexander Bokovoy 2018-06-27 12:26:09 +03:00 committed by Andrew Bartlett
parent 2a63619c1f
commit 35ebfd3d4e

View File

@ -208,7 +208,11 @@ def cmd_testonly(opt):
os.environ['CONFIG_H'] = 'bin/default/include/config.h' os.environ['CONFIG_H'] = 'bin/default/include/config.h'
# tell the test system where perl is # 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') st_done = os.path.join(env.SELFTEST_PREFIX, 'st_done')
if os.path.exists(st_done): if os.path.exists(st_done):