mirror of
https://github.com/liuk7071/ChonkyStation.git
synced 2025-04-02 10:52:38 -04:00
23 lines
No EOL
587 B
Bash
23 lines
No EOL
587 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo "Starting unit tests"
|
|
cp SDL2/lib/x64/SDL2.dll x64/Release # Copy SDL2 DLL before running
|
|
./x64/Release/Chonkystation.exe "tests/test_r0/test_r0.exe" --continuous-integration # Run first test
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo '$zero test: Failed'
|
|
exit -1
|
|
else
|
|
echo '$zero test: Passed!'
|
|
fi
|
|
|
|
./x64/Release/Chonkystation.exe "tests/test_sign_extension/test_sign_extension.exe" --continuous-integration # Run second test
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo 'Sign extension test: Failed'
|
|
exit -1
|
|
else
|
|
echo 'Sign extension test: Passed!'
|
|
fi
|
|
|
|
echo "Done testing!" |