Make tests fail loudly
diff --git a/tests/test_mips.c b/tests/test_mips.c
index 923d810..6cb751f 100644
--- a/tests/test_mips.c
+++ b/tests/test_mips.c
@@ -123,7 +123,7 @@
 		cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle);
 		if (err) {
 			printf("Failed on cs_open() with error returned: %u\n", err);
-			continue;
+			abort();
 		}
 
 		cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON);
@@ -150,6 +150,7 @@
 			printf("Platform: %s\n", platforms[i].comment);
 			print_string_hex("Code:", platforms[i].code, platforms[i].size);
 			printf("ERROR: Failed to disasm given code!\n");
+			abort();
 		}
 
 		printf("\n");