From 1069745ffdaf048dccbb3b19dd017c115a638791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= Date: Sun, 21 Dec 2014 16:08:39 +0100 Subject: Tests for erlank.mk targets 'app', 'tests-ct' and 'eunit' Makefile-based tests in the test/ directory and 'make check' as an alias for (cd test; make). --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d7bb08d..2efc976 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ BUILD_CONFIG = $(shell sed "s/\#.*//" $(BUILD_CONFIG_FILE)) ERLANG_MK = erlang.mk -.PHONY: all +.PHONY: all check all: pkg awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) > $(ERLANG_MK) @@ -25,3 +25,6 @@ all: pkg pkg: cat packages.v2.tsv | awk 'BEGIN { FS = "\t" }; { print $$1 "\t" $$3 "\t" $$5 "\t" $$6 }' > packages.v1.tsv cp packages.v1.tsv packages.v1.txt + +check: + make -C test -- cgit v1.2.3