summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlexandre Feblot <devnull@localhost>2015-04-29 22:19:55 (GMT)
committerAlexandre Feblot <devnull@localhost>2015-04-29 22:19:55 (GMT)
commit96b03f5736c84dc01b9de3b19a108c1f7846c89d (patch)
tree82ffb939ef4eeef3fd9c7b67ed7e835258045404 /test
parent24244d6a075c2158c7ccb19fdb15b94c338eea17 (diff)
downloadSCons-96b03f5736c84dc01b9de3b19a108c1f7846c89d.zip
SCons-96b03f5736c84dc01b9de3b19a108c1f7846c89d.tar.gz
SCons-96b03f5736c84dc01b9de3b19a108c1f7846c89d.tar.bz2
Glob exclude parameter can now be a string or a list of strings
Diffstat (limited to 'test')
-rw-r--r--test/Glob/exclude.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Glob/exclude.py b/test/Glob/exclude.py
index 2348cc2..56b58a8 100644
--- a/test/Glob/exclude.py
+++ b/test/Glob/exclude.py
@@ -50,8 +50,8 @@ env.Concatenate('fa.out', sorted(Glob('f*.in' , exclude=['f2.in', 'f4.*'] ,
env.Concatenate('fb.out', sorted(Glob('f*.in' , exclude=['f2.in', 'f4.*'] , strings=True)))
env.Concatenate('fc.out', sorted(Glob('d?/f*.in', exclude=['d?/f1.*', 'f2.in'], strings=False), key=lambda t: t.path))
env.Concatenate('fd.out', sorted(Glob('d?/f*.in', exclude=['d?/f1.*', 'f2.in'], strings=True)))
-env.Concatenate('fe.out', sorted(Glob('f*.in', exclude=['f1.in'] , strings=True)))
-env.Concatenate('ff.out', sorted(Glob('f*.in', exclude=['other'] , strings=True)))
+env.Concatenate('fe.out', sorted(Glob('f*.in', exclude='f1.in' , strings=True)))
+env.Concatenate('ff.out', sorted(Glob('f*.in', exclude='other' , strings=True)))
""")
test.write('f1.in', "f1.in\n")