projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-work the test suite so it now works with Automake (via "make check").
[mmh]
/
test
/
new
/
test-basic
diff --git
a/test/tests/new/test-basic
b/test/new/test-basic
old mode 100644
(file)
new mode 100755
(executable)
similarity index 96%
rename from
test/tests/new/test-basic
rename to
test/new/test-basic
index
772b72f
..
3b2befd
--- a/
test/tests/new/test-basic
+++ b/
test/new/test-basic
@@
-1,5
+1,12
@@
#!/bin/sh
+if [ -z "${MH_TEST_COMMON}" ]; then
+ echo "MH_TEST_COMMON not set; try running via 'make check'"
+fi
+
+. ${MH_TEST_COMMON}
+
+setup_test
# TODO: Move to a common file tests can source; need more framework...
failed=0
check() {