aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-29 00:21:20 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-29 00:21:20 +0200
commitd90732874fee7be546c7bb24eec299b6e4456bad (patch)
treecd8d0c48fc045d1ce2cab8d93de264285d9ed9fe
parent308a68b0ee6bd8a538d1019c8bd19384e2c710b5 (diff)
downloadsbotools2-d90732874fee7be546c7bb24eec299b6e4456bad.tar.xz
16-clean.t: skip unless TEST_INSTALL is true
-rwxr-xr-xt/16-clean.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/16-clean.t b/t/16-clean.t
index 9bde2d1..b695ae8 100755
--- a/t/16-clean.t
+++ b/t/16-clean.t
@@ -11,7 +11,11 @@ use Test::Sbotools qw/ make_slackbuilds_txt set_pkg_dir set_distclean set_noclea
use SBO::Lib;
use File::Temp 'tempdir';
-plan tests => 17;
+if ($ENV{TEST_INSTALL}) {
+ plan tests => 17;
+} else {
+ plan skip_all => 'Only run these tests if TEST_INSTALL=1';
+}
my $sboname = "nonexistentslackbuild";
my $perf = "/usr/sbo/distfiles/perf.dummy";