Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit93eda98

Browse files
committed
Fix paths for running docker tests
1 parentb668154 commit93eda98

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)

[8]ページ先頭

©2009-2025 Movatter.jp