summaryrefslogtreecommitdiffstats
path: root/test/RANLIB
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-01-21 15:22:29 (GMT)
committerSteven Knight <knight@baldmt.com>2006-01-21 15:22:29 (GMT)
commit222e96534b47d6a14167b2938212d1933d27eec9 (patch)
tree408f5ba2b360bd76a2ef9d2980165e01c7d11b97 /test/RANLIB
parentfcbe6204ad17af3c5b5fd138de734a45399cb839 (diff)
downloadSCons-222e96534b47d6a14167b2938212d1933d27eec9.zip
SCons-222e96534b47d6a14167b2938212d1933d27eec9.tar.gz
SCons-222e96534b47d6a14167b2938212d1933d27eec9.tar.bz2
More efficient Node.FS.Dir.current() check. Fix some Windows test portability issues.
Diffstat (limited to 'test/RANLIB')
-rw-r--r--test/RANLIB/RANLIBCOM.py5
-rw-r--r--test/RANLIB/RANLIBCOMSTR.py5
2 files changed, 10 insertions, 0 deletions
diff --git a/test/RANLIB/RANLIBCOM.py b/test/RANLIB/RANLIBCOM.py
index 25f2f61..d60a14e 100644
--- a/test/RANLIB/RANLIBCOM.py
+++ b/test/RANLIB/RANLIBCOM.py
@@ -34,6 +34,11 @@ python = TestSCons.python
test = TestSCons.TestSCons()
+ranlib = test.detect('RANLIB', 'ranlib')
+
+if not ranlib:
+ test.skip_test("Could not find 'ranlib', skipping test.\n")
+
test.write('myar.py', """
diff --git a/test/RANLIB/RANLIBCOMSTR.py b/test/RANLIB/RANLIBCOMSTR.py
index 4e348c0..4e03675 100644
--- a/test/RANLIB/RANLIBCOMSTR.py
+++ b/test/RANLIB/RANLIBCOMSTR.py
@@ -35,6 +35,11 @@ python = TestSCons.python
test = TestSCons.TestSCons()
+ranlib = test.detect('RANLIB', 'ranlib')
+
+if not ranlib:
+ test.skip_test("Could not find 'ranlib', skipping test.\n")
+
test.write('myar.py', """