File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 138138# something's wrong, exit now!
139139if [ $status -ne 0 ]; then cat /tmp/postgres.log; exit 1; fi
140140
141+ cd $CUSTOM_PG_SRC
142+
141143# run regression tests
142144export PG_REGRESS_DIFF_OPTS=" -w -U3" # for alpine's diff (BusyBox)
143145make -C $CUSTOM_PG_SRC /contrib/pg_query_state installcheck || status=$?
144146
145147# show diff if it exists
146148if [ -f regression.diffs ]; then cat regression.diffs; fi
147149
150+ cd $CUSTOM_PG_SRC /contrib/pg_query_state
151+
148152# run python tests
149153set +x -e
150154python3 -m venv /tmp/env && source /tmp/env/bin/activate &&
151- pip install -r tests/requirements.txt
155+ pip install -r ./ tests/requirements.txt
152156set -e # exit virtualenv with error code
153157python tests/pg_qs_test_runner.py --port $PGPORT
154158if [[ " $USE_TPCDS " == " 1" ]]; then
You can’t perform that action at this time.
0 commit comments