summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2018-06-27 12:26:09 +0300
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 06:37:26 +0200
commit35ebfd3d4ef1b32ef1ac51c6e20506b24fd3abc3 (patch)
treed01949a6854ad7d368f93c05c7e1fbacb273e995 /selftest
parent2a63619c1fdfe15d196ebf077522a05990abe53d (diff)
downloadsamba-35ebfd3d4ef1b32ef1ac51c6e20506b24fd3abc3.tar.gz
selftest/wscript: handle lists in environmental variables in waf
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/selftest/wscript b/selftest/wscript
index 60fddf88b6c..2c45e1bf8f7 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -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):