From bbb85c88c898621b07e71a9ed2073d95a8196418 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 26 Mar 2013 23:23:03 -0400 Subject: [PATCH] Fix: Run tests requiring the python bindings only when they are enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- tests/Makefile.am | 7 +++++++ tests/fast_regression | 5 ----- tests/long_regression | 5 ----- tests/with_bindings_regression | 5 +++++ 4 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 tests/with_bindings_regression diff --git a/tests/Makefile.am b/tests/Makefile.am index a95afa73e..5feaca2d3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +1,12 @@ SUBDIRS = utils regression unit +if USE_PYTHON check-am: ./run.sh unit_tests ./run.sh fast_regression + ./run.sh with_bindings_regression +else +check-am: + ./run.sh unit_tests + ./run.sh fast_regression +endif diff --git a/tests/fast_regression b/tests/fast_regression index 175bb036d..fb4ac6037 100644 --- a/tests/fast_regression +++ b/tests/fast_regression @@ -12,8 +12,3 @@ regression/ust/nprocesses/test_nprocesses regression/ust/overlap/test_overlap regression/ust/test_event_basic regression/ust/test_event_wildcard -regression/ust/linking/test_linking -regression/ust/daemon/test_daemon -regression/ust/exit-fast/test_exit-fast -regression/ust/fork/test_fork -regression/ust/libc-wrapper/test_libc-wrapper diff --git a/tests/long_regression b/tests/long_regression index 8b1cbfc24..c198178ec 100644 --- a/tests/long_regression +++ b/tests/long_regression @@ -14,8 +14,3 @@ regression/ust/nprocesses/test_nprocesses regression/ust/overlap/test_overlap regression/ust/test_event_basic regression/ust/test_event_wildcard -regression/ust/linking/test_linking -regression/ust/daemon/test_daemon -regression/ust/exit-fast/test_exit-fast -regression/ust/fork/test_fork -regression/ust/libc-wrapper/test_libc-wrapper diff --git a/tests/with_bindings_regression b/tests/with_bindings_regression new file mode 100644 index 000000000..5cb190382 --- /dev/null +++ b/tests/with_bindings_regression @@ -0,0 +1,5 @@ +regression/ust/linking/test_linking +regression/ust/daemon/test_daemon +regression/ust/exit-fast/test_exit-fast +regression/ust/fork/test_fork +regression/ust/libc-wrapper/test_libc-wrapper -- 2.34.1