Skip to content

Commit 93eda98

Browse files
committed
Fix paths for running docker tests
1 parent b668154 commit 93eda98

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

run_tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,21 @@ fi
138138
# something's wrong, exit now!
139139
if [ $status -ne 0 ]; then cat /tmp/postgres.log; exit 1; fi
140140

141+
cd $CUSTOM_PG_SRC
142+
141143
# run regression tests
142144
export PG_REGRESS_DIFF_OPTS="-w -U3" # for alpine's diff (BusyBox)
143145
make -C $CUSTOM_PG_SRC/contrib/pg_query_state installcheck || status=$?
144146

145147
# show diff if it exists
146148
if [ -f regression.diffs ]; then cat regression.diffs; fi
147149

150+
cd $CUSTOM_PG_SRC/contrib/pg_query_state
151+
148152
# run python tests
149153
set +x -e
150154
python3 -m venv /tmp/env && source /tmp/env/bin/activate &&
151-
pip install -r tests/requirements.txt
155+
pip install -r ./tests/requirements.txt
152156
set -e #exit virtualenv with error code
153157
python tests/pg_qs_test_runner.py --port $PGPORT
154158
if [[ "$USE_TPCDS" == "1" ]]; then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy