summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7368df4..966e827 100644
--- a/Makefile
+++ b/Makefile
@@ -142,6 +142,15 @@ install-skel:
test: local $(TEST_BINS)
@env GTT="$$(pwd)/testing/gitano-test-tool" \
$(YARN) testing/library.yarn $(TESTS)
+ @EMPTY=0; for YFILE in $(TESTS); do \
+ if test $$(wc -l < $$YFILE) -lt 2; then \
+ echo "WARNING: $$YFILE appears to be empty"; \
+ EMPTY=$$((EMPTY + 1)); \
+ fi \
+ done; \
+ if test $$EMPTY -gt 0; then \
+ echo "WARNING: Count of empty yarns: $$EMPTY"; \
+ fi
testing/%: testing/%.in $(GEN_BIN)
$(call GEN_LOCAL_BIN,$<,$@)