# HG changeset patch # User Pierre-Yves David # Date 1726008097 -7200 # Node ID 17e2d5c467167964171bf9bdc67329a73534da6f # Parent 6388fd855f66ab4491270ff9aac6ed2d84dce38e test: display server error log in test-profile.t This will help us to catch error with Python 3.12 diff -r 6388fd855f66 -r 17e2d5c46716 tests/test-profile.t --- a/tests/test-profile.t Thu Sep 05 15:37:14 2024 -0400 +++ b/tests/test-profile.t Wed Sep 11 00:41:37 2024 +0200 @@ -54,9 +54,17 @@ Profiling of HTTP requests works - $ prof --config profiling.format=text --config profiling.output=../profile.log serve -d -p $HGPORT --pid-file ../hg.pid -A ../access.log + $ prof \ + > --config profiling.format=text \ + > --config profiling.output=../profile.log \ + > serve -d \ + > -p $HGPORT \ + > --pid-file ../hg.pid \ + > -A ../access.log \ + > --errorlog ../error.log $ cat ../hg.pid >> $DAEMON_PIDS $ hg -q clone -U http://localhost:$HGPORT ../clone + $ cat ../error.log A single profile is logged because file logging doesn't append $ grep CallCount ../profile.log | wc -l