82b22616a18bf39dde6753c1e12b14d0daae40ca
[mmh] / test / cleanup
1 #!/bin/sh
2 #
3 # This exists so "make check" will always clean up the "inst" directory
4 # after a run, even if tests fail.  That way if you fix a problem and do
5 # another "make check", you will get new binaries to test against.
6
7
8 if [ -z "${MH_TEST_COMMON}" ]; then
9     echo "MH_TEST_COMMON not set; try running via 'make check'"
10 fi
11
12 . ${MH_TEST_COMMON}
13
14 setup_test
15
16 rm -rf ${MH_INST_DIR}