diff options
author | Thomas White <taw@physics.org> | 2020-07-27 17:24:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 4ac5b40dd5f7e4dadf98fa85408ca9230c3d7dbb (patch) | |
tree | e5554fdc7a848c685ca02d58753256a6478a666f | |
parent | 5b1cd650ec5c7d89129889bd98ec1cecafc4b171 (diff) |
Start converting tests to Meson
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | tests/meson.build | 20 |
2 files changed, 21 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 77aa5ed9..6d02516e 100644 --- a/meson.build +++ b/meson.build @@ -94,6 +94,7 @@ endif # ************************ libcrystfel (subdir) ************************ subdir('libcrystfel') +subdir('tests') # ************************ The programs ************************ @@ -231,6 +232,3 @@ endif # install : true) # FIXME: Install manual pages - -# FIXME: Tests - diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 00000000..24cf9006 --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,20 @@ +# CrystFEL unit tests + +exe = executable('ambi_check', 'ambi_check.c', + dependencies : libcrystfeldep) +test('ambi_check', exe) + +exe = executable('cell_check', 'cell_check.c', + dependencies : [libcrystfeldep, mdep, gsldep]) +test('cell_check', exe) + + +exe = executable('centering_check', 'centering_check.c', + dependencies : [libcrystfeldep, mdep, gsldep]) +test('centering_check', exe) + +exe = executable('integration_check', + ['integration_check.c', + 'histogram.c'], + dependencies : [libcrystfeldep, mdep, gsldep]) +test('integration_check', exe) |