X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c65573459d4b3de74e78ff2f0e3c248d84d3b8fe..e107aac243dbd4021e57f4c455c7e3ffd82b819e:/test/inc/test-eom-align?ds=inline diff --git a/test/inc/test-eom-align b/test/inc/test-eom-align index 276d70c7..2afa1005 100755 --- a/test/inc/test-eom-align +++ b/test/inc/test-eom-align @@ -4,11 +4,16 @@ set -e -. ${MH_TEST_COMMON} +if test -z "${MH_OBJ_DIR}"; then + srcdir=`dirname "$0"`/../.. + MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR +fi + +. "$MH_OBJ_DIR/test/common.sh" setup_test -THISDIR="${srcdir}/test/inc" +THISDIR="$srcdir/test/inc" if [ ! -z "$VALGRIND_ME" ]; then require_prog valgrind