Add missing test cleanups #40

Merged
shino merged 3 commits from ss/missing-test-cleanups into master 2015-11-05 07:16:40 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 922baaf433 - Show all commits

View file

@ -8,6 +8,7 @@ ifeq ($(REBAR),)
REBAR = $(BASE_DIR)/rebar REBAR = $(BASE_DIR)/rebar
endif endif
OVERLAY_VARS ?= OVERLAY_VARS ?=
EUNIT_OPTS = -v
.PHONY: rel deps package pkgclean edoc .PHONY: rel deps package pkgclean edoc

View file

@ -27,6 +27,7 @@
REBAR ?= ./rebar REBAR ?= ./rebar
REVISION ?= $(shell git rev-parse --short HEAD) REVISION ?= $(shell git rev-parse --short HEAD)
PROJECT ?= $(shell basename `find src -name "*.app.src"` .app.src) PROJECT ?= $(shell basename `find src -name "*.app.src"` .app.src)
EUNIT_OPTS ?=
.PHONY: compile-no-deps test docs xref dialyzer-run dialyzer-quick dialyzer \ .PHONY: compile-no-deps test docs xref dialyzer-run dialyzer-quick dialyzer \
cleanplt upload-docs cleanplt upload-docs
@ -35,7 +36,7 @@ compile-no-deps:
${REBAR} compile skip_deps=true ${REBAR} compile skip_deps=true
test: compile test: compile
${REBAR} eunit skip_deps=true ${REBAR} ${EUNIT_OPTS} eunit skip_deps=true
upload-docs: docs upload-docs: docs
@if [ -z "${BUCKET}" -o -z "${PROJECT}" -o -z "${REVISION}" ]; then \ @if [ -z "${BUCKET}" -o -z "${PROJECT}" -o -z "${REVISION}" ]; then \