summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-04-08 15:18:15 +1000
committerDarren Tucker <dtucker@dtucker.net>2021-04-08 15:18:15 +1000
commitbfa5405da05d906ffd58216eb77c4375b62d64c2 (patch)
treebf925e7dafdd4f99a7718b01b3acdd968adfaa53
parent1f189181f3ea09a9b08aa866f78843fec800874f (diff)
Ensure valgrind-out exists.
Normally the regress tests would create it, but running the unit tests on their own would fail because the directory did not exist.
-rwxr-xr-xregress/valgrind-unit.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/valgrind-unit.sh b/regress/valgrind-unit.sh
index 4143ead4..193289e6 100755
--- a/regress/valgrind-unit.sh
+++ b/regress/valgrind-unit.sh
@@ -19,4 +19,6 @@ if [ "x$VALGRIND_PATH" != "x" ]; then
VG_PATH="$VALGRIND_PATH"
fi
+mkdir -p "$OBJ/valgrind-out"
+
exec $VG_PATH $VG_OPTS $UNIT_BINARY $UNIT_ARGS