commit d90732874fee7be546c7bb24eec299b6e4456bad parent 308a68b0ee6bd8a538d1019c8bd19384e2c710b5 Author: Andreas Guldstrand <andreas.guldstrand@gmail.com> Date: Mon, 29 Aug 2016 00:21:20 +0200 16-clean.t: skip unless TEST_INSTALL is true Diffstat:
| M | t/16-clean.t | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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";