Skip to content

Commit

Permalink
cuda: add test for negative find_library() result
Browse files Browse the repository at this point in the history
  • Loading branch information
SoapGentoo committed May 22, 2024
1 parent 588643f commit 74a9d32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test cases/cuda/1 simple/meson.build
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 74a9d32

Please sign in to comment.