diff options
author | Thomas White <taw@physics.org> | 2020-08-05 12:10:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-05 13:39:23 +0200 |
commit | a7ce7d83d70e747446cb54581216f440b9677954 (patch) | |
tree | 38276443f5f2143afedc34ebb004d9d6e684e79b /tests/meson.build | |
parent | ee5e7f49c4c582651d1c3760f204ac861864c9d5 (diff) |
Convert gpu_sim_check to DataTemplate
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/tests/meson.build b/tests/meson.build index 7c06b74f..5b368f9b 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -44,14 +44,11 @@ simple_tests = ['ambi_check', 'evparse6', 'evparse7'] - -if opencldep.found() - simple_tests += 'gpu_sim_check' -endif - foreach name : simple_tests exe = executable(name, ''.join([name, '.c']), - dependencies : [libcrystfeldep, mdep, gsldep, hdf5dep, opencldep]) + dependencies : [libcrystfeldep, mdep, gsldep, hdf5dep], + include_directories: conf_inc) + test(name, exe, timeout : 60) endforeach @@ -69,6 +66,14 @@ exe = executable('prof2d_check', dependencies : [libcrystfeldep, mdep, gsldep]) test('prof2d_check', exe) +exe = executable('gpu_sim_check', + ['gpu_sim_check.c', + simulation_bits], + dependencies : [libcrystfeldep, mdep, gsldep, opencldep], + include_directories: conf_inc) +geom = files('gpu_sim_check.geom') +test('gpu_sim_check', exe, args: [geom]) + # Event enumeration tests ev_enum_tests = ['ev_enum1', |