From 11405e35e5e12ab36eeaca5f7ba9f205cec40fe5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 18 Apr 2017 19:11:51 +0000 Subject: pkg.mk: support VALGRIND variable for unit tests Users may set it to "valgrind" and/or set any custom options for this. --- pkg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg.mk') diff --git a/pkg.mk b/pkg.mk index 186db53..325b8eb 100644 --- a/pkg.mk +++ b/pkg.mk @@ -119,7 +119,7 @@ test: check check: test-unit test-unit: $(test_units) $(test_units): build - $(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS) + $(VALGRIND) $(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS) # this requires GNU coreutils variants ifneq ($(RSYNC_DEST),) -- cgit v1.2.3-24-ge0c7