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 138
138
# something's wrong, exit now!
139
139
if [ $status -ne 0 ]; then cat /tmp/postgres.log; exit 1; fi
140
140
141
+ cd $CUSTOM_PG_SRC
142
+
141
143
# run regression tests
142
144
export PG_REGRESS_DIFF_OPTS=" -w -U3" # for alpine's diff (BusyBox)
143
145
make -C $CUSTOM_PG_SRC /contrib/pg_query_state installcheck || status=$?
144
146
145
147
# show diff if it exists
146
148
if [ -f regression.diffs ]; then cat regression.diffs; fi
147
149
150
+ cd $CUSTOM_PG_SRC /contrib/pg_query_state
151
+
148
152
# run python tests
149
153
set +x -e
150
154
python3 -m venv /tmp/env && source /tmp/env/bin/activate &&
151
- pip install -r tests/requirements.txt
155
+ pip install -r ./ tests/requirements.txt
152
156
set -e # exit virtualenv with error code
153
157
python tests/pg_qs_test_runner.py --port $PGPORT
154
158
if [[ " $USE_TPCDS " == " 1" ]]; then
You can’t perform that action at this time.
0 commit comments