summaryrefslogtreecommitdiffstats
path: root/test/packaging/strip-install-dir.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/packaging/strip-install-dir.py')
-rw-r--r--test/packaging/strip-install-dir.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/packaging/strip-install-dir.py b/test/packaging/strip-install-dir.py
index 65b6a61..ec40220 100644
--- a/test/packaging/strip-install-dir.py
+++ b/test/packaging/strip-install-dir.py
@@ -34,6 +34,11 @@ python = TestSCons.python
test = TestSCons.TestSCons()
+tar = test.detect('TAR', 'tar')
+
+if not tar:
+ test.skip_test('tar not found, skipping test\n')
+
test.write( 'main.c', '' )
test.write('SConstruct', """
prog = Install( '/bin', 'main.c' )