summaryrefslogtreecommitdiffstats
path: root/test/RANLIB
diff options
context:
space:
mode:
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', """