From: Sebastian Harl Date: Fri, 18 Jul 2014 06:42:07 +0000 (+0200) Subject: t/: Always use testwrapper.sh for running tests. X-Git-Tag: sysdb-0.3.0~55 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0556fed1f4808c3b921e9b89da3033d5b4e0c530;p=sysdb.git t/: Always use testwrapper.sh for running tests. … using automake's LOG_COMPILER variable. --- diff --git a/t/Makefile.am b/t/Makefile.am index c5560e9..da85f5d 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -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 diff --git a/t/cibuild.sh b/t/cibuild.sh index 9e21eb2..61f4a8b 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -17,7 +17,7 @@ case "$CICFLAGS" in # skip regular tests ;; *) - make test TESTS_ENVIRONMENT="./testwrapper.sh" + make test ;; esac