aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/eunit.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/eunit.mk b/plugins/eunit.mk
index aa4cc9a..211a744 100644
--- a/plugins/eunit.mk
+++ b/plugins/eunit.mk
@@ -8,6 +8,7 @@
EUNIT_OPTS ?=
EUNIT_ERL_OPTS ?=
+EUNIT_TEST_SPEC ?= $1
# Core targets.
@@ -23,7 +24,7 @@ help::
define eunit.erl
$(call cover.erl)
CoverSetup(),
- case eunit:test($1, [$(EUNIT_OPTS)]) of
+ case eunit:test($(call EUNIT_TEST_SPEC,$1), [$(EUNIT_OPTS)]) of
ok -> ok;
error -> halt(2)
end,