We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d1138 commit dd7199eCopy full SHA for dd7199e
entrypoint.sh
@@ -13,3 +13,29 @@ xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
13
-quit \
14
-returnlicense
15
16
+# Catch exit code
17
+UNITY_EXIT_CODE=$?
18
+
19
+#
20
+# Instructions for debugging
21
22
23
+if [[ $UNITY_EXIT_CODE -gt 0 ]]; then
24
+echo ""
25
+echo "###########################"
26
+echo "# Failure #"
27
28
29
+echo "Please note that the exit code is not very descriptive."
30
+echo "Most likely it will not help you solve the issue."
31
32
+echo "To find the reason for failure: please search for errors in the log above."
33
34
+exit $UNITY_EXIT_CODE
35
+fi;
36
37
38
+# Exit with code from the return-license step.
39
40
41
0 commit comments