diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-29 00:21:20 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-29 00:21:20 +0200 |
commit | d90732874fee7be546c7bb24eec299b6e4456bad (patch) | |
tree | cd8d0c48fc045d1ce2cab8d93de264285d9ed9fe | |
parent | 308a68b0ee6bd8a538d1019c8bd19384e2c710b5 (diff) | |
download | sbotools2-d90732874fee7be546c7bb24eec299b6e4456bad.tar.xz |
16-clean.t: skip unless TEST_INSTALL is true
-rwxr-xr-x | t/16-clean.t | 6 |
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"; |