From 31e359c72531265b6b465a8dc68b2284a0f50810 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Thu, 31 Dec 2015 22:39:29 +0100 Subject: Fix test.t when multilib is only partially enabled --- t/test.t | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 't/test.t') diff --git a/t/test.t b/t/test.t index eca6945..ee7e1fb 100755 --- a/t/test.t +++ b/t/test.t @@ -254,10 +254,13 @@ ok(!(check_x32("$repo_path/system/ifuse")), 'check_x32 false for not-32-bit-only ifuse'); # 36: check_multilib tests -if (-x '/usr/sbin/convertpkg-compat32') { - ok(check_multilib(), 'check_multilib good'); -} else { - ok(!check_multilib(), 'check_multilib good'); +SKIP: { + skip "This is useless to test if TEST_MULTILIB=1", 1 if ($ENV{TEST_MULTILIB} // 0) == 1; + if (-x '/usr/sbin/convertpkg-compat32') { + ok(check_multilib(), 'check_multilib good'); + } else { + ok(!check_multilib(), 'check_multilib good'); + } } # 37: create_symlinks tests -- cgit v1.2.3