diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-08-01 00:27:14 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-08-14 13:13:22 -0700 |
commit | 571deb5f9ebaac3e795e4641751b79db2f45c882 (patch) | |
tree | a44c5633c7654f4068b87b946323d52bb1942860 | |
parent | 02159bc54b638fe2463deef33e2447557e8fd316 (diff) | |
download | meson-571deb5f9ebaac3e795e4641751b79db2f45c882.zip meson-571deb5f9ebaac3e795e4641751b79db2f45c882.tar.gz meson-571deb5f9ebaac3e795e4641751b79db2f45c882.tar.bz2 |
tests/153: skip with PGI as macros are unique
-rw-r--r-- | test cases/common/152 shared module resolving symbol in executable/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/common/152 shared module resolving symbol in executable/meson.build b/test cases/common/152 shared module resolving symbol in executable/meson.build index 282a4d2..4e5188f 100644 --- a/test cases/common/152 shared module resolving symbol in executable/meson.build +++ b/test cases/common/152 shared module resolving symbol in executable/meson.build @@ -9,6 +9,11 @@ project('shared module resolving symbol in executable', 'c') # See testcase 125 for an example of the more complex portability gymnastics # required if we do not know (at link-time) what provides the symbol. +cc = meson.get_compiler('c') +if cc.get_id() == 'pgi' + error('MESON_SKIP_TEST PGI has its own unique set of macros that would need to be handled') +endif + dl = meson.get_compiler('c').find_library('dl', required: false) e = executable('prog', 'prog.c', dependencies: dl, export_dynamic: true) m = shared_module('module', 'module.c', link_with: e) |