diff options
Diffstat (limited to '')
| -rw-r--r-- | test/meson.build | 2 | ||||
| -rw-r--r-- | test/sigsegv/meson.build | 2 | ||||
| -rw-r--r-- | test/src/meson.build | 25 |
3 files changed, 29 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..6e69a67 --- /dev/null +++ b/test/meson.build @@ -0,0 +1,2 @@ +subdir('sigsegv') +subdir('src') diff --git a/test/sigsegv/meson.build b/test/sigsegv/meson.build new file mode 100644 index 0000000..55d153d --- /dev/null +++ b/test/sigsegv/meson.build @@ -0,0 +1,2 @@ +null = shared_library('null', 'lib.c') +sigsegv = executable('sigsegv', 'main.c', link_with: null) diff --git a/test/src/meson.build b/test/src/meson.build new file mode 100644 index 0000000..5cf26e2 --- /dev/null +++ b/test/src/meson.build @@ -0,0 +1,25 @@ +test_args = [ + '-m', + 'pytest', + '--no-header', + '-v', + '--durations', + '0', + '--durations-min', + '1.0', + meson.current_source_dir(), + '--server', + server.full_path(), + '--worker', + worker.full_path(), + '--client', + client.full_path(), + '--sigsegv', + sigsegv.full_path(), + '--project-version', + meson.project_version(), +] + +python = import('python').find_installation() + +test('default', python, args: test_args, timeout: 600) |
