From 56eb00208b7b9358b0f9258e4e51914846b51acf Mon Sep 17 00:00:00 2001 From: Dominik Loidolt <dominik.loidolt@univie.ac.at> Date: Mon, 14 Feb 2022 17:38:39 +0100 Subject: [PATCH] integration test depends on cmp_tool executable --- test/cmp_tool/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/cmp_tool/meson.build b/test/cmp_tool/meson.build index 25b47e2..7b5b382 100644 --- a/test/cmp_tool/meson.build +++ b/test/cmp_tool/meson.build @@ -2,7 +2,11 @@ int_test_file = files('cmp_tool_integration_test.py') pytest = find_program('pytest', required : false) if pytest.found() - test('Integration Test', pytest, args : ['--color=yes', '-vvv', int_test_file]) + test('Integration Test', + pytest, + args : ['--color=yes', '-vvv', int_test_file] + depends: cmp_lib, + workdir: messon.build_root()) else message('Pytest framework not found! Skipping integration tests.') endif -- GitLab