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

Commit9911ed0

Browse files
[run_tests.sh] A right way for obtaining of BINDIR and PG_CONFIG is used (#196)
A problem was detected in container with Ubuntu 24.04tests works with "/usr/bin/pg_config" but real pg_config is "/usr/lib/postgresql/17/bin/pg_config"To resovle this problem we will call "pg_config --bindir" and use it result for BINDIR and PG_CONFIG.
1 parent0eeb705 commit9911ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ time coverage run -a -m pytest -l -v -n 4 -k "TestgresTests"
4343

4444
# run tests (PG_BIN)
4545
time \
46-
PG_BIN=$(dirname$(whichpg_config)) \
46+
PG_BIN=$(pg_config --bindir) \
4747
coverage run -a -m pytest -l -v -n 4 -k"TestgresTests"
4848

4949

5050
# run tests (PG_CONFIG)
5151
time \
52-
PG_CONFIG=$(whichpg_config) \
52+
PG_CONFIG=$(pg_config --bindir)/pg_config \
5353
coverage run -a -m pytest -l -v -n 4 -k"TestgresTests"
5454

5555

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp