aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-05-22 15:55:56 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2024-05-22 23:54:30 +0300
commit7efddcb90951cdbd177024721bafabd38c8d0dad (patch)
treee500b11dad32d955be16db5356707d74b6abacb2 /test cases
parent4861079360423298b7c282becab46bdcdee8f8f6 (diff)
downloadmeson-7efddcb90951cdbd177024721bafabd38c8d0dad.zip
meson-7efddcb90951cdbd177024721bafabd38c8d0dad.tar.gz
meson-7efddcb90951cdbd177024721bafabd38c8d0dad.tar.bz2
cuda: add test for negative `find_library()` result
Diffstat (limited to 'test cases')
-rw-r--r--test cases/cuda/1 simple/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/cuda/1 simple/meson.build b/test cases/cuda/1 simple/meson.build
index 4f111d1..e3069df 100644
--- a/test cases/cuda/1 simple/meson.build
+++ b/test cases/cuda/1 simple/meson.build
@@ -1,4 +1,8 @@
project('simple', 'cuda', version : '1.0.0')
+# https://github.com/mesonbuild/meson/issues/13240
+d = meson.get_compiler('cuda').find_library('doesnotexist', required : false)
+assert(not d.found())
+
exe = executable('prog', 'prog.cu')
test('cudatest', exe)