git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a63619
)
selftest/wscript: handle lists in environmental variables in waf
author
Alexander Bokovoy
<ab@samba.org>
Wed, 27 Jun 2018 09:26:09 +0000
(12:26 +0300)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 5 Sep 2018 04:37:26 +0000
(06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/wscript
patch
|
blob
|
history
diff --git
a/selftest/wscript
b/selftest/wscript
index 60fddf88b6cd14241f6d177e7db777ee1d25cdfc..2c45e1bf8f78dcdbac2d004301f7784b8b2b6618 100644
(file)
--- 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):