diff --git a/Makefile b/Makefile index ecc5e74..b35885f 100644 --- a/Makefile +++ b/Makefile @@ -26,10 +26,10 @@ dist: clean tar -czf $(DIST).tar.gz $(DIST) rm -rf $(DIST) -check: +check: $(BIN) @failed=0; \ - for f in ./t/*; do \ - [ "$$f" = "./t/init.sh" ] && continue; \ + for f in ./tests/*; do \ + [ "$$f" = "./tests/init.sh" ] && continue; \ [ -f "$$f" ] || continue; \ name=$$(basename "$$f"); \ sh "$$f"; rc=$$?; \ diff --git a/t/hello-1 b/tests/hello-1 similarity index 95% rename from t/hello-1 rename to tests/hello-1 index 99df9f7..57aa542 100755 --- a/t/hello-1 +++ b/tests/hello-1 @@ -7,7 +7,7 @@ # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. - . ./t/init.sh + . ./tests/init.sh cat <exp || framework_failure_ tcpl: Hello, World! diff --git a/t/init.sh b/tests/init.sh similarity index 100% rename from t/init.sh rename to tests/init.sh diff --git a/t/name-1 b/tests/name-1 similarity index 95% rename from t/name-1 rename to tests/name-1 index c1f585d..3ea4bf1 100755 --- a/t/name-1 +++ b/tests/name-1 @@ -7,7 +7,7 @@ # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. - . ./t/init.sh + . ./tests/init.sh cat <exp || framework_failure_ tcpl: Hello, Seaman!