]> diplodocus.org Git - nmh/commitdiff
export MH_TEST_DIR so that test/dist/test-dist can be run standalone.
authorDavid Levine <levinedl@acm.org>
Fri, 8 Jul 2016 13:59:58 +0000 (09:59 -0400)
committerDavid Levine <levinedl@acm.org>
Fri, 8 Jul 2016 13:59:58 +0000 (09:59 -0400)
test/common.sh.in

index 74e5f63256d52a6f18a691738e79d9776e564aa3..fc928134766c1d07b8576124fac9c6460a00df2f 100644 (file)
@@ -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@