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

Commit5f2c589

Browse files
committed
pgtest: grab possible warnings from install.log
Since PG 9.5, 'make check' records the build output in install.log, solook in there for warnings too.Backpatch-through: 9.5
1 parent2217fd9 commit5f2c589

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 @@ thenPGCLEAN=clean
2323
elseshift
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 check2>&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
thencat$TMP/0|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp