diff options
author | tv <tv@nomic.retiolum> | 2013-09-02 17:18:53 +0200 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-09-02 17:18:53 +0200 |
commit | 61781dbb9c85ef5997cc2adb6df9960c19776459 (patch) | |
tree | e811d95e7729f12f53f13392579fa35a93faf48e /util/Makefile | |
parent | 78eb0da69229b9d29cc8a9a42678c7664ad5f8b8 (diff) |
make -C util test: add basic dic bit rot test
Diffstat (limited to 'util/Makefile')
-rw-r--r-- | util/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/Makefile b/util/Makefile new file mode 100644 index 00000000..b5ce668a --- /dev/null +++ b/util/Makefile @@ -0,0 +1,13 @@ +usage:;cat Makefile + +test: export PATH := "$(PWD)/bin:$(PATH)" +test: + @tests="`find t -type f -executable`"; \ + i=1; \ + echo $$i..`echo "$$tests" | wc -l`; \ + for t in $$tests; do \ + ./$$t; \ + case $$? in 0) ok=ok;; *) ok='not ok';; esac; \ + echo $$ok $$i - $$t; \ + (( i++ )); \ + done |