diff options
author | Loïc Hoguin <[email protected]> | 2015-09-18 14:34:58 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-18 14:34:58 +0200 |
commit | 5bcfeece2f55cd8570b1356d9982756e99f90b40 (patch) | |
tree | b3ec855b58fbdb522a23c5739dad905753232a37 /Makefile | |
parent | 9c3f9f1dfe73738d182ddd9832406b2ab61293f7 (diff) | |
download | erlang.mk-5bcfeece2f55cd8570b1356d9982756e99f90b40.tar.gz erlang.mk-5bcfeece2f55cd8570b1356d9982756e99f90b40.tar.bz2 erlang.mk-5bcfeece2f55cd8570b1356d9982756e99f90b40.zip |
Test "no .app.src" by default, test legacy with LEGACY=1
Also fixes two bugs with the new "no .app.src" method.
All tests now pass with both methods.
We can now test specific cases with make check c=$CASE.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -24,12 +24,17 @@ all: awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) \ | sed 's/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = $(ERLANG_MK_VERSION)/' > $(ERLANG_MK) -ifeq ($(p),) +ifdef p check: - $(MAKE) -C test + $(MAKE) -C test pkg-$p else +ifdef c check: - $(MAKE) -C test pkg-$(p) + $(MAKE) -C test $c LEGACY=$(LEGACY) +else +check: + $(MAKE) -C test LEGACY=$(LEGACY) +endif endif clean: |