* [PATCH] pkg.mk: support VALGRIND variable for unit tests
@ 2017-04-18 19:29 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2017-04-18 19:29 UTC (permalink / raw)
To: kcar-public
Users may set it to "valgrind" and/or set any custom options
for this.
---
pkg.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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),)
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-18 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-18 19:29 [PATCH] pkg.mk: support VALGRIND variable for unit tests Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/kcar.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).