Content-Length: 269416 | pFad | http://github.com/postgrespro/postgres_cluster/commit/96313bff295ca2c4f7cb144b1feca825db17da23

E2 pgtest: grab possible warnings from install.log · postgrespro/postgres_cluster@96313bf · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/96313bff295ca2c4f7cb144b1feca825db17da23

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy