Re-work the test suite so it now works with Automake (via "make check").
[mmh] / test / mhbuild / test-forw
old mode 100644 (file)
new mode 100755 (executable)
similarity index 94%
rename from test/tests/mhbuild/test-forw
rename to test/mhbuild/test-forw
index 1dece26..c92242f
@@ -5,6 +5,14 @@
 #
 ######################################################
 
+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() {