Re-work the test suite so it now works with Automake (via "make check").
[mmh] / test / inc / test-eom-align
old mode 100644 (file)
new mode 100755 (executable)
similarity index 98%
rename from test/tests/inc/test-eom-align
rename to test/inc/test-eom-align
index 2c1c67e..c0cae7c
@@ -4,9 +4,11 @@
 
 set -e
 
-. $MH_TEST_COMMON
+. ${MH_TEST_COMMON}
 
-THISDIR="tests/inc"
+setup_test
+
+THISDIR="${srcdir}/test/inc"
 
 if [ ! -z "$VALGRIND_ME" ]; then
     require_prog valgrind