aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-06-06 21:47:40 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-06-07 16:40:52 -0400
commit7126ca6e2725c127e788544c5abe6593c20200a5 (patch)
treedd9875db1287f3fb190c69cf270cb786b88d1e92 /test cases/frameworks
parente2e6fd2e61a0b284d47a55dfd52e7e4f485d683d (diff)
downloadmeson-7126ca6e2725c127e788544c5abe6593c20200a5.zip
meson-7126ca6e2725c127e788544c5abe6593c20200a5.tar.gz
meson-7126ca6e2725c127e788544c5abe6593c20200a5.tar.bz2
tests: remove unnecessary non-meson syntax from meson.build
We don't use parentheses for the if function, because it's not a function.
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/15 llvm/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/frameworks/15 llvm/meson.build b/test cases/frameworks/15 llvm/meson.build
index 3f0e298..aac037f 100644
--- a/test cases/frameworks/15 llvm/meson.build
+++ b/test cases/frameworks/15 llvm/meson.build
@@ -13,7 +13,7 @@ modules_to_find = [
'nativecodegen', 'amdgpu', 'engine'
]
-if(method == 'combination')
+if method == 'combination'
if not d.version().version_compare(static ? '>0.1' : '>=7.0')
error('MESON_SKIP_TEST: llvm version is too low')
endif
@@ -51,7 +51,7 @@ if(method == 'combination')
assert(cm_version_major == ct_version_major, 'config-tool and cmake returns different major versions')
assert(cm_version_minor == ct_version_minor, 'config-tool and cmake returns different minor versions')
else
- if(not static and method == 'cmake')
+ if not static and method == 'cmake'
d = dependency('llvm', version : '>=7.0', required : false, static : static)
if not d.found()
error('MESON_SKIP_TEST llvm version is too low for cmake dynamic link.')