From d90732874fee7be546c7bb24eec299b6e4456bad Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 29 Aug 2016 00:21:20 +0200 Subject: 16-clean.t: skip unless TEST_INSTALL is true --- t/16-clean.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 't/16-clean.t') 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"; -- cgit v1.2.3