Skip to content

Commit 646c42c

Browse files
committed
tests: add "vars" mode to use by default in 'test.sh' script
Testing for variables behaviour is more common, so it's more convenient not to specify this every time
1 parent 2b1a9bc commit 646c42c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ LOGDIR="$PWD/src/test/log"
107107
LOGFILE="$LOGDIR/test_$(date +%Y%m%d%H%M).log"
108108
mkdir -p "$LOGDIR"
109109

110+
if [[ -z "$TEST_MODES" ]]; then
111+
# MFU test mode
112+
TEST_MODES="vars"
113+
fi
114+
110115
for PGVERSION in $PG_VERSIONS; do
111116
if [[ -z "$NO_REBUILD" ]]; then
112117
echo "Setup PostgreSQL $PGVERSION"

0 commit comments

Comments
 (0)