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
/
mhshow
/
test-qp
diff --git
a/test/tests/mhshow/test-qp
b/test/mhshow/test-qp
old mode 100644
(file)
new mode 100755
(executable)
similarity index 89%
rename from
test/tests/mhshow/test-qp
rename to
test/mhshow/test-qp
index
ae6ec05
..
c19a343
--- a/
test/tests/mhshow/test-qp
+++ b/
test/mhshow/test-qp
@@
-7,6
+7,14
@@
set -e
+if [ -z "${MH_TEST_COMMON}" ]; then
+ echo "MH_TEST_COMMON not set; try running via 'make check'"
+fi
+
+. ${MH_TEST_COMMON}
+
+setup_test
+
expected=$MH_TEST_DIR/$$.expected
actual=$MH_TEST_DIR/$$.actual