From 7ee4e7958acf0f0956bd64023ecb1731b2824b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 10 Jan 2015 18:25:22 +0100 Subject: Introduce test builds and unify testing tools interface The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes. --- core/core.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/core.mk') diff --git a/core/core.mk b/core/core.mk index 0d3fcf9..8622be2 100644 --- a/core/core.mk +++ b/core/core.mk @@ -46,8 +46,12 @@ all:: deps rel:: @echo -n -clean:: +clean:: clean-crashdump + +clean-crashdump: +ifneq ($(wildcard erl_crash.dump),) $(gen_verbose) rm -f erl_crash.dump +endif distclean:: clean -- cgit v1.2.3