about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-04-18 19:11:51 +0000
committerEric Wong <e@80x24.org>2017-04-18 19:21:38 +0000
commit11405e35e5e12ab36eeaca5f7ba9f205cec40fe5 (patch)
treef83aedfc1eeaa39781d7de930f99fa523694229b
parent9cc9fb5d1b5bab6b5a7a5ba213bc484ed94ed5b9 (diff)
downloadkcar-11405e35e5e12ab36eeaca5f7ba9f205cec40fe5.tar.gz
Users may set it to "valgrind" and/or set any custom options
for this.
-rw-r--r--pkg.mk2
1 files changed, 1 insertions, 1 deletions
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),)