mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
tests: Run tests only once
This commit is contained in:
@@ -38,13 +38,7 @@ int test(int argc, char **argv) {
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int result = EXIT_SUCCESS;
|
||||
|
||||
for (u32 i = 0; i < 16; i++) {
|
||||
result = test(argc, argv);
|
||||
if (result != EXIT_SUCCESS)
|
||||
break;
|
||||
}
|
||||
int result = test(argc, argv);
|
||||
|
||||
if (result == EXIT_SUCCESS)
|
||||
hex::log::info("Success!");
|
||||
|
||||
Reference in New Issue
Block a user