aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts/test-no-crash-reports.sh
diff options
context:
space:
mode:
authorJohann Bernhardt <johann.bernhardt@tum.de>2021-12-12 19:42:07 +0100
committerJohann Bernhardt <johann.bernhardt@tum.de>2021-12-12 19:42:07 +0100
commit20b5d2932ef44e1c96104d6ec0528012f5c83d21 (patch)
tree9c7051872d6bd37ee20c043946268bf0ebc34f08 /.github/scripts/test-no-crash-reports.sh
parent311ab89f93558233a40079f7cb16605b141b5346 (diff)
downloadGT5-Unofficial-20b5d2932ef44e1c96104d6ec0528012f5c83d21.tar.gz
GT5-Unofficial-20b5d2932ef44e1c96104d6ec0528012f5c83d21.tar.bz2
GT5-Unofficial-20b5d2932ef44e1c96104d6ec0528012f5c83d21.zip
Migrated to unified build script
Diffstat (limited to '.github/scripts/test-no-crash-reports.sh')
-rw-r--r--.github/scripts/test-no-crash-reports.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/scripts/test-no-crash-reports.sh b/.github/scripts/test-no-crash-reports.sh
new file mode 100644
index 0000000000..c67e342c06
--- /dev/null
+++ b/.github/scripts/test-no-crash-reports.sh
@@ -0,0 +1,9 @@
+directory="run/crash-reports"
+if [ -d $directory ]; then
+ echo "Crash reports detected:"
+ cat $directory/*
+ exit 1
+else
+ echo "No crash reports detected"
+ exit 0
+fi