diff options
Diffstat (limited to 't')
-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"; |