diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-11 22:02:40 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-12 01:53:39 +0300 |
commit | 05d36ee394475b5efe7b6d14ad4bc3d6cc627125 (patch) | |
tree | 67c55e98c88c93a567d4e04aa17d187f9add934b | |
parent | 8f5e1649aa1990c32cb8bde0c0a2dafe71d2e25a (diff) | |
download | meson-05d36ee394475b5efe7b6d14ad4bc3d6cc627125.zip meson-05d36ee394475b5efe7b6d14ad4bc3d6cc627125.tar.gz meson-05d36ee394475b5efe7b6d14ad4bc3d6cc627125.tar.bz2 |
Disable asan memory leak checks on a Cuda test.
-rw-r--r-- | test cases/cuda/16 multistd/meson.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test cases/cuda/16 multistd/meson.build b/test cases/cuda/16 multistd/meson.build index 4769a87..47f0629 100644 --- a/test cases/cuda/16 multistd/meson.build +++ b/test cases/cuda/16 multistd/meson.build @@ -1,4 +1,7 @@ -project('C++-CUDA multi-std', 'cpp', 'cuda', version : '1.0.0', default_options : ['cpp_std=c++17', 'cuda_std=c++14']) +project('C++-CUDA multi-std', 'cpp', 'cuda', + version : '1.0.0', + default_options : ['cpp_std=c++17', 'cuda_std=c++14']) exe = executable('prog', 'main.cu') -test('cudatest', exe) +# The runtimes leak memory, so ignore it. +test('cudatest', exe, env: ['ASAN_OPTIONS=detect_leaks=0']) |