Skip to content

Commit 96313bf

Browse files
committed
pgtest: grab possible warnings from install.log
Since PG 9.5, 'make check' records the build output in install.log, so look in there for warnings too. Backpatch-through: 9.5
1 parent d2086b0 commit 96313bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tools/pgtest

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ then PGCLEAN=clean
2323
else shift
2424
fi
2525

26+
rm -f tmp_install/log/install.log
27+
2628
# Run "make check" and store return code in $TMP/ret.
2729
# Display output but also capture it in $TMP/0.
2830
($MAKE "$@" $PGCLEAN check 2>&1; echo "$?" > $TMP/ret) | tee $TMP/0
2931

32+
# Grab possible warnings from install.log
33+
[ -e tmp_install/log/install.log ] && cat tmp_install/log/install.log >> $TMP/0
34+
3035
# If success, display warnings
3136
if [ $(cat $TMP/ret) -eq 0 ]
3237
then cat $TMP/0 |

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