diff options
author | Loïc Hoguin <[email protected]> | 2015-01-08 13:40:43 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-01-08 13:40:43 +0100 |
commit | abb11f81f5e23ebda3334f1a8669aa9097a3895d (patch) | |
tree | 101774c96c0c89cf0782d7403a978e1ae7a9f89f /plugins/eunit.mk | |
parent | 2a6499a167354f2a1259b28b2c3105f08db977d1 (diff) | |
download | erlang.mk-abb11f81f5e23ebda3334f1a8669aa9097a3895d.tar.gz erlang.mk-abb11f81f5e23ebda3334f1a8669aa9097a3895d.tar.bz2 erlang.mk-abb11f81f5e23ebda3334f1a8669aa9097a3895d.zip |
Speed up "erl" invocations
Use "+A0 -noinput -boot start_clean" as start argument.
Use halt/{1,2} to shutdown the VM faster.
Diffstat (limited to 'plugins/eunit.mk')
-rw-r--r-- | plugins/eunit.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/eunit.mk b/plugins/eunit.mk index 75aab0c..1b83a0f 100644 --- a/plugins/eunit.mk +++ b/plugins/eunit.mk @@ -41,12 +41,11 @@ clean:: clean-eunit # Plugin-specific targets. -EUNIT_RUN = erl \ +EUNIT_RUN = $(ERL) \ -no_auto_compile \ - -noshell \ -pa $(realpath $(EUNIT_DIR)) $(DEPS_DIR)/*/ebin \ -pz $(realpath ebin) \ - -eval 'case eunit:test([$(call str-join,$(TAGGED_EUNIT_TESTS))], [$(EUNIT_OPTS)]) of ok -> erlang:halt(0); error -> erlang:halt(1) end.' + -eval 'case eunit:test([$(call str-join,$(TAGGED_EUNIT_TESTS))], [$(EUNIT_OPTS)]) of ok -> halt(0); error -> halt(1) end.' help-eunit: @printf "%s\n" "" \ |