summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2017-04-04 18:42:57 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-04-05 16:51:56 -0400
commitefc6a9be8cb34c899f0454c32e8a1e62b38df474 (patch)
tree138d5999aa9d78c14806316fe984de2e799efd25 /common.mk
parent4e605885c9dcaeb3ee443ec902c9c9189b19043f (diff)
downloadlibnice-efc6a9be8cb34c899f0454c32e8a1e62b38df474.tar.gz
tests: Use automake test-driver for valgrind
This fixes the valgrind integration with the new test drivers.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index e2ca3f4..b16380d 100644
--- a/common.mk
+++ b/common.mk
@@ -4,6 +4,8 @@ pkgincludedir = $(includedir)/nice
check-valgrind:
- $(MAKE) TESTS_ENVIRONMENT="sh $$(cd "$(top_srcdir)" && pwd)/scripts/valgrind.sh" check
+ $(MAKE) TESTS_ENVIRONMENT="USE_VALGRIND=1 " check
+
+LOG_DRIVER=$(top_srcdir)/scripts/valgrind-test-driver
.PHONY: check-valgrind