test: display server error log in test-profile.t
This will help us to catch error with Python 3.12
--- 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