diff options
author | Eric <[email protected]> | 2012-09-19 17:42:24 -0700 |
---|---|---|
committer | Eric <[email protected]> | 2012-09-19 17:52:04 -0700 |
commit | e72f965e861127cd97cdef82905370540a0d4a80 (patch) | |
tree | 4e615f6162afdfbac8eb1bfd3ce6422a609ef1a7 /Makefile | |
parent | 8f2670540b6cef76726224801a696cfbed4f3738 (diff) | |
download | relx-e72f965e861127cd97cdef82905370540a0d4a80.tar.gz relx-e72f965e861127cd97cdef82905370540a0d4a80.tar.bz2 relx-e72f965e861127cd97cdef82905370540a0d4a80.zip |
fully support testing of release builds
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -35,7 +35,8 @@ ifeq ($(REBAR),) $(error "Rebar not available on this system") endif -.PHONY: all compile doc clean test dialyzer typer shell distclean pdf get-deps escript +.PHONY: all compile doc clean test dialyzer typer shell distclean pdf \ + get-deps escript clean-common-test-data all: compile escript dialyzer test @@ -65,10 +66,10 @@ escript: doc: $(REBAR) skip_deps=true doc -eunit: compile +eunit: compile clean-common-test-data $(REBAR) skip_deps=true eunit -ct: compile +ct: compile clean-common-test-data $(REBAR) skip_deps=true ct test: compile eunit ct @@ -98,9 +99,13 @@ shell: get-deps compile pdf: pandoc README.md -o README.pdf -clean: - - rm -rf $(CURDIR)/test/*.beam +clean-common-test-data: +# We have to do this because of the unique way we generate test +# data. Without this rebar eunit gets very confused - rm -rf $(CURDIR)/test/*_SUITE_data + +clean: clean-common-test-data + - rm -rf $(CURDIR)/test/*.beam - rm -rf $(CURDIR)/logs $(REBAR) skip_deps=true clean |