Code

t/: Always use testwrapper.sh for running tests.
authorSebastian Harl <sh@tokkee.org>
Fri, 18 Jul 2014 06:42:07 +0000 (08:42 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 18 Jul 2014 06:42:07 +0000 (08:42 +0200)
… using automake's LOG_COMPILER variable.

t/Makefile.am
t/cibuild.sh

index c5560e976eb5642be9ce1b753d8f1a2b9d88a2e8..da85f5d61f540e2262d485e4f59f6bf8845fbe1d 100644 (file)
@@ -18,6 +18,8 @@ check_LTLIBRARIES =
 # unit tests
 #
 
+LOG_COMPILER = $(abs_srcdir)/testwrapper.sh
+
 if UNIT_TESTING
 TESTS += unit/libsysdb_test unit/libsysdb_net_test
 check_PROGRAMS += unit/libsysdb_test unit/libsysdb_net_test
index 9e21eb2b1fe15a75eb6fbe08f4f613b0cd110830..61f4a8b09b658e3b13c75dd17cc7249517a275d7 100755 (executable)
@@ -17,7 +17,7 @@ case "$CICFLAGS" in
                # skip regular tests
                ;;
        *)
-               make test TESTS_ENVIRONMENT="./testwrapper.sh"
+               make test
                ;;
 esac