diff options
author | Alexander Bokovoy <ab@samba.org> | 2018-06-27 12:26:09 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-05 06:37:26 +0200 |
commit | 35ebfd3d4ef1b32ef1ac51c6e20506b24fd3abc3 (patch) | |
tree | d01949a6854ad7d368f93c05c7e1fbacb273e995 | |
parent | 2a63619c1fdfe15d196ebf077522a05990abe53d (diff) | |
download | samba-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>
-rw-r--r-- | selftest/wscript | 6 |
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): |