From cc4e2f9e38d00a48913e7f8c226f65fcca56f71e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Oct 2023 08:01:34 +0200 Subject: [PATCH] Reduce the output on github CI Signed-off-by: Joas Schilling --- .gitignore | 2 ++ build/integration/run.sh | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c2210c1fa06..bbcbddff26a 100644 --- a/.gitignore +++ b/.gitignore @@ -129,6 +129,8 @@ nbproject /build/bin /build/lib/ /build/jsdocs/ +/build/integration/output/ +/build/integration/phpserver.log /npm-debug.log /PhantomJS_* diff --git a/build/integration/run.sh b/build/integration/run.sh index 45a0333038e..09c1d544c6d 100755 --- a/build/integration/run.sh +++ b/build/integration/run.sh @@ -34,10 +34,16 @@ if [ -z "$EXECUTOR_NUMBER" ]; then fi PORT=$((8080 + $EXECUTOR_NUMBER)) echo $PORT -php -S localhost:$PORT -t ../.. & + +echo "" > phpserver.log + +php -S localhost:$PORT -t ../.. &> phpserver.log & PHPPID=$! echo $PHPPID +# Output filtered php server logs +tail -f phpserver.log | grep --line-buffered -v -E ":[0-9]+ Accepted$" | grep --line-buffered -v -E ":[0-9]+ Closing$" & + # The federated server is started and stopped by the tests themselves PORT_FED=$((8180 + $EXECUTOR_NUMBER)) echo $PORT_FED -- 2.39.5