Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0eb414

Browse files
Merge remote-tracking branch 'origin/D20250227_001--pg_config-bindir' into D20250226_001--ci_and_ssh
2 parents e8bf7d6 + 103bcd2 commit d0eb414

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 $(which pg_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=$(which pg_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)