X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/35fce21b692a6259138fc81caf13f4d07bb58da0..98c792e2effa2656e4fce979d6f6eec44d64131c:/test/common.sh.in diff --git a/test/common.sh.in b/test/common.sh.in index 29e88019..fc928134 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -6,6 +6,7 @@ #### that they are set here so that individual tests can be run #### outside of make. Requires that MH_OBJ_DIR be set on entry. test -z "$MH_TEST_DIR" && MH_TEST_DIR="$MH_OBJ_DIR/test/testdir" +export MH_TEST_DIR test -z "$MH_INST_DIR" && MH_INST_DIR="${MH_TEST_DIR}/inst" test -z "$prefix" && prefix=@prefix@ test -z "$datarootdir" && datarootdir=@datarootdir@ @@ -170,7 +171,7 @@ prepare_space() { #### Optional arguments: #### 'keep first' -- first file is removed unless this is present. #### 'ignore space' -- spacing differences will not be considered -#### signficant, emulating GNU diff -w. It is assumed that the +#### significant, emulating GNU diff -w. It is assumed that the #### first file has already been run through prepare_space. #### ':' -- will print '' in the failure message, #### to make it easier to tell which of multiple tests has failed.