diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-07-31 22:51:27 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-08-14 13:13:22 -0700 |
commit | c5a0dfcfa87eb55c0c75d4c7eaa2ee3555d1f7ee (patch) | |
tree | 2b7d500662857bf2dbedb5eeecc37258ad9f1b88 | |
parent | 0e718b069960d3d3003a3afeadfad59c24fb5f23 (diff) | |
download | meson-c5a0dfcfa87eb55c0c75d4c7eaa2ee3555d1f7ee.zip meson-c5a0dfcfa87eb55c0c75d4c7eaa2ee3555d1f7ee.tar.gz meson-c5a0dfcfa87eb55c0c75d4c7eaa2ee3555d1f7ee.tar.bz2 |
tests/common/186: skip some due to PGI link failure stderr=0
-rw-r--r-- | test cases/common/185 has link arg/meson.build | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test cases/common/185 has link arg/meson.build b/test cases/common/185 has link arg/meson.build index d6afc74..6bfbd59 100644 --- a/test cases/common/185 has link arg/meson.build +++ b/test cases/common/185 has link arg/meson.build @@ -14,9 +14,10 @@ else endif assert(cc.has_link_argument(is_arg), 'Arg that should have worked does not work.') -assert(not cc.has_link_argument(isnt_arg), 'Arg that should be broken is not.') - assert(cpp.has_link_argument(is_arg), 'Arg that should have worked does not work.') + +if cc.get_id() != 'pgi' +assert(not cc.has_link_argument(isnt_arg), 'Arg that should be broken is not.') assert(not cpp.has_link_argument(isnt_arg), 'Arg that should be broken is not.') assert(cc.get_supported_link_arguments([is_arg, isnt_arg, useless]) == [is_arg, useless], 'Arg filtering returned different result.') @@ -38,7 +39,9 @@ assert(l1.get(0) == is_arg, 'First supported returned wrong argument.') assert(l2.length() == 0, 'First supported did not return empty array.') assert(not cc.has_multi_link_arguments([isnt_arg, is_arg]), 'Arg that should be broken is not.') -assert(cc.has_multi_link_arguments(is_arg), 'Arg that should have worked does not work.') -assert(cc.has_multi_link_arguments([useless, is_arg]), 'Arg that should have worked does not work.') assert(not cc.has_link_argument('-Wl,-z,nodelete42'), 'Did not detect wrong -z linker argument') +endif + +assert(cc.has_multi_link_arguments(is_arg), 'Arg that should have worked does not work.') +assert(cc.has_multi_link_arguments([useless, is_arg]), 'Arg that should have worked does not work.') |