[quiz] Abort on assertion failure

This allows CI to handle test failures correctly
This commit is contained in:
Romain Goyet
2019-09-18 17:30:08 +02:00
parent f995cd3a90
commit 690af21140

View File

@@ -4,8 +4,6 @@
void quiz_assert(bool condition) {
if (!condition) {
// We want to keep what the screen is displaying so we cannot abort
while (1) {
}
abort();
}
}