diff options
-rw-r--r-- | test cases/frameworks/15 llvm/meson.build | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test cases/frameworks/15 llvm/meson.build b/test cases/frameworks/15 llvm/meson.build index bae83c5..3855fae 100644 --- a/test cases/frameworks/15 llvm/meson.build +++ b/test cases/frameworks/15 llvm/meson.build @@ -34,8 +34,12 @@ llvm_dep = dependency( static : static, method : method, ) -if llvm_dep.found() - executable( + +if not llvm_dep.found() + error('MESON_SKIP_TEST required llvm modules not found.') +endif + +executable( 'sum', 'sum.c', dependencies : [ @@ -45,4 +49,3 @@ if llvm_dep.found() meson.get_compiler('c').find_library('dl', required : false), ] ) -endif |