diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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,$<,$@) |