diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 22:39:29 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 22:52:46 +0100 |
commit | 31e359c72531265b6b465a8dc68b2284a0f50810 (patch) | |
tree | f8690c2cdb1c1e3ee63dd8b558a7e80af3a07f7d | |
parent | 4ac02fbe711fc3ec9ac2a29767af02ae852b2703 (diff) | |
download | sbotools2-31e359c72531265b6b465a8dc68b2284a0f50810.tar.xz |
Fix test.t when multilib is only partially enabled
-rwxr-xr-x | t/test.t | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |