aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-03 13:55:42 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-10 13:36:35 -0700
commitac5b1d1bc8418e82d955b8ff0e13fdd95de774be (patch)
tree76030aa35b59efa8eebd4a4f8599676e053cacef /test cases
parent28aac9fc3b6129e4c0cac9f5fc2ba4eab97f77b8 (diff)
downloadmeson-ac5b1d1bc8418e82d955b8ff0e13fdd95de774be.zip
meson-ac5b1d1bc8418e82d955b8ff0e13fdd95de774be.tar.gz
meson-ac5b1d1bc8418e82d955b8ff0e13fdd95de774be.tar.bz2
tests/common/40: ICL behaves like MSVC and should be tested like it
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/40 has function/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/40 has function/meson.build b/test cases/common/40 has function/meson.build
index eb30acd..539f313 100644
--- a/test cases/common/40 has function/meson.build
+++ b/test cases/common/40 has function/meson.build
@@ -21,7 +21,7 @@ foreach cc : compilers
# not taken from a cache (ie. the check above)
# On MSVC fprintf is defined as an inline function in the header, so it cannot
# be found without the include.
- if cc.get_id() != 'msvc'
+ if not ['msvc', 'intel-cl'].contains(cc.get_id())
assert(cc.has_function('fprintf', args : unit_test_args),
'"fprintf" function not found without include (on !msvc).')
else