Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e7da596

Browse files
committed
cat postgres log if python_tests fails
1 parent f75d991 commit e7da596

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ make USE_PGXS=1 python_tests || status=$?
134134
deactivate
135135
set -x
136136

137+
if [ $status -ne 0 ]; then cat /tmp/postgres.log; fi
138+
137139
# show Valgrind logs if necessary
138140
if [ "$LEVEL" = "nightmare" ]; then
139141
for f in $(find /tmp -name valgrind-*.log); do

0 commit comments

Comments
 (0)