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 ca26e3e commit f8eb872Copy full SHA for f8eb872
scripts/release_build.sh
@@ -92,6 +92,16 @@ cd git_thcrap
92
| grep -v -e 'Number of'
93
cd ..
94
95
+# Run unit tests
96
+rm -rf "tmp_$DATE"
97
+mkdir "tmp_$DATE"
98
+cd "tmp_$DATE"
99
+../git_thcrap/bin/bin/thcrap_test.exe
100
+UNITTEST_STATUS=$?
101
+cd ..
102
103
+test $UNITTEST_STATUS -eq 0 || confirm 'Unit tests failed! Continue anyway?'
104
+
105
# Prepare the release directory
106
if [ "$(cd git_thcrap/bin && echo $(ls *.exe bin/cacert.pem bin/*.exe bin/*.dll bin/*.json | grep -vF '_d.dll'))" != "$FILES_LIST" ]; then
107
echo "The list of files to copy doesn't match. Files list:"
0 commit comments