Fix: Run tests requiring the python bindings only when they are enabled
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 27 Mar 2013 03:23:03 +0000 (23:23 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 27 Mar 2013 14:34:06 +0000 (10:34 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/Makefile.am
tests/fast_regression
tests/long_regression
tests/with_bindings_regression [new file with mode: 0644]

index a95afa73e16dac810878f8aad28d10f78c96112a..5feaca2d3003e6430885a689de44bd69a8b58ba9 100644 (file)
@@ -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
index 175bb036da959b44cbb6944ed939ed92837806a3..fb4ac60373cd607594a692fe519af4f41c8261c1 100644 (file)
@@ -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
index 8b1cbfc24ee9efcf2003d5c375e2a5481a7da3cf..c198178ec4d5dd235ce38529648679cc13a8aa74 100644 (file)
@@ -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 (file)
index 0000000..5cb1903
--- /dev/null
@@ -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
This page took 0.02736 seconds and 4 git commands to generate.