From 2feb2f39ccd71cfd72f42c5f97eedbe23b5a5853 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 16 Feb 2019 11:10:46 -0600 Subject: add check for tar before trying to run test --- test/packaging/multiple-packages-at-once.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/packaging/multiple-packages-at-once.py b/test/packaging/multiple-packages-at-once.py index 8c3f72d..3575996 100644 --- a/test/packaging/multiple-packages-at-once.py +++ b/test/packaging/multiple-packages-at-once.py @@ -38,10 +38,14 @@ python = TestSCons.python test = TestSCons.TestSCons() zip = test.detect('ZIP', 'zip') +tar = test.detect('TAR', 'tar') if not zip: test.skip_test('zip not found, skipping test\n') +if not tar: + test.skip_test('tar not found, skipping test\n') + test.subdir('src') test.write( [ 'src', 'main.c' ], r""" -- cgit v0.12