summaryrefslogtreecommitdiffstats
path: root/etc/TestCommon.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-07 06:07:04 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-07 06:07:04 (GMT)
commit885d6990898faedd07ad3c9e20320682e571ec7d (patch)
treea0df00d28472f3bb3cf7f35e52e2537fce8beb22 /etc/TestCommon.py
parent31779f1d6730d32c4f799c7d1506ed5d7de257e0 (diff)
downloadSCons-885d6990898faedd07ad3c9e20320682e571ec7d.zip
SCons-885d6990898faedd07ad3c9e20320682e571ec7d.tar.gz
SCons-885d6990898faedd07ad3c9e20320682e571ec7d.tar.bz2
Qt fixes. (Christoph Wiedemann)
Diffstat (limited to 'etc/TestCommon.py')
-rw-r--r--etc/TestCommon.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/TestCommon.py b/etc/TestCommon.py
index ff8a3f3..c7ee6f9 100644
--- a/etc/TestCommon.py
+++ b/etc/TestCommon.py
@@ -76,8 +76,8 @@ The TestCommon module also provides the following variables
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
__author__ = "Steven Knight <knight at baldmt dot com>"
-__revision__ = "TestCommon.py 0.8.D001 2004/07/15 06:24:14 knight"
-__version__ = "0.8"
+__revision__ = "TestCommon.py 0.9.D001 2004/08/06 08:19:26 knight"
+__version__ = "0.9"
import os
import os.path
@@ -204,7 +204,7 @@ class TestCommon(TestCmd):
pathname will be constructed by concatenating them. Exits FAILED
if any of the files does not exist.
"""
- files = map(lambda x: is_List(x) and os.path.join(x) or x, files)
+ files = map(lambda x: is_List(x) and apply(os.path.join, x) or x, files)
missing = filter(lambda x: not os.path.exists(x), files)
if missing:
print "Missing files: `%s'" % string.join(missing, "', `")
@@ -233,7 +233,7 @@ class TestCommon(TestCmd):
which case the pathname will be constructed by concatenating them.
Exits FAILED if any of the files exists.
"""
- files = map(lambda x: is_List(x) and os.path.join(x) or x, files)
+ files = map(lambda x: is_List(x) and apply(os.path.join, x) or x, files)
existing = filter(os.path.exists, files)
if existing:
print "Unexpected files exist: `%s'" % string.join(existing, "', `")