diff options
author | Steven Knight <knight@baldmt.com> | 2006-01-21 15:22:29 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-01-21 15:22:29 +0000 |
commit | 069a9f1fdac2cb1afdeda336a5376870fa0fb0c8 (patch) | |
tree | 408f5ba2b360bd76a2ef9d2980165e01c7d11b97 /test/RANLIB | |
parent | c420626e32dac838b0511992704c85499fb27dbf (diff) | |
download | scons-069a9f1fdac2cb1afdeda336a5376870fa0fb0c8.tar.gz |
More efficient Node.FS.Dir.current() check. Fix some Windows test portability issues.
Diffstat (limited to 'test/RANLIB')
-rw-r--r-- | test/RANLIB/RANLIBCOM.py | 5 | ||||
-rw-r--r-- | test/RANLIB/RANLIBCOMSTR.py | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/RANLIB/RANLIBCOM.py b/test/RANLIB/RANLIBCOM.py index 25f2f612..d60a14ef 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 4e348c06..4e036758 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', """ |