X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6106441685a38400d9aa94ccb7218218102f941c..6456295d747373150577e02588770a1a4ba1efaf:/test/folder/test-total diff --git a/test/folder/test-total b/test/folder/test-total index 86b304f3..df9c3425 100755 --- a/test/folder/test-total +++ b/test/folder/test-total @@ -5,11 +5,12 @@ # ###################################################### -if [ -z "${MH_TEST_COMMON}" ]; then - echo "MH_TEST_COMMON not set; try running via 'make check'" +if test -z "${MH_OBJ_DIR}"; then + srcdir=`dirname "$0"`/../.. + MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR fi -. ${MH_TEST_COMMON} +. "$MH_OBJ_DIR/test/common.sh" setup_test