aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts/test-no-error-reports.sh
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2022-03-01 21:03:53 +0100
committerGitHub <noreply@github.com>2022-03-01 21:03:53 +0100
commit3532f9259ec2e445cb8d4ca579a7222bace09da5 (patch)
treee2605e038ad482ebc0950782077e2a489cad7ce5 /.github/scripts/test-no-error-reports.sh
parent345c435b7b2022f1ba095c44516d0d067d8606f4 (diff)
parent1fdef398ed10a1d661bc879ab3affe1ad201589f (diff)
downloadGT5-Unofficial-3532f9259ec2e445cb8d4ca579a7222bace09da5.tar.gz
GT5-Unofficial-3532f9259ec2e445cb8d4ca579a7222bace09da5.tar.bz2
GT5-Unofficial-3532f9259ec2e445cb8d4ca579a7222bace09da5.zip
Merge pull request #26 from GTNewHorizons/feature/lsc-cleanup
structurelib support for LSC
Diffstat (limited to '.github/scripts/test-no-error-reports.sh')
-rwxr-xr-x.github/scripts/test-no-error-reports.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/.github/scripts/test-no-error-reports.sh b/.github/scripts/test-no-error-reports.sh
deleted file mode 100755
index 84c1e5d650..0000000000
--- a/.github/scripts/test-no-error-reports.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-
-RUNDIR="run"
-CRASH="crash-reports"
-SERVERLOG="server.log"
-
-if [[ -d $RUNDIR/$CRASH ]]; then
- echo "Crash reports detected:"
- cat $RUNDIR/$CRASH/crash*.txt
- exit 1
-fi
-
-if grep --quiet "Fatal errors were detected" $SERVERLOG; then
- echo "Fatal errors detected:"
- cat server.log
- exit 1
-fi
-
-if grep --quiet "The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED" $SERVERLOG; then
- echo "Server force stopped:"
- cat server.log
- exit 1
-fi
-
-if ! grep --quiet -Po '.+Done \(.+\)\! For help, type "help" or "\?"' $SERVERLOG; then
- echo "Server didn't finish startup:"
- cat server.log
- exit 1
-fi
-
-echo "No crash reports detected"
-exit 0
-