diff options
Diffstat (limited to 't/superuser--suggests.t')
-rw-r--r-- | t/superuser--suggests.t | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/t/superuser--suggests.t b/t/superuser--suggests.t index af60f1da..8e1fbf48 100644 --- a/t/superuser--suggests.t +++ b/t/superuser--suggests.t @@ -16,7 +16,13 @@ use strict; use lib '.', 't'; use helper; use urpm::util; -use Test::More 'no_plan'; +use Test::More; +if (are_weak_deps_supported()) { + plan 'no_plan'; +} else { + plan skip_all => "Weak dependencies support is needed for those tests" ; +} + need_root_and_prepare(); @@ -30,6 +36,7 @@ test_invalid(); test_upgrade(); test_d(); test_force_suggests(); +done_testing(); sub test_b { test('b', ['bb'], ['suggested_b']); |