mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-23 14:34:25 +00:00
fix unit tests when exit is called at the end
This commit is contained in:
@ -126,6 +126,6 @@ int main(int argc, char **argv) {
|
||||
};
|
||||
|
||||
//return cmocka_run_group_tests (tests, setup, teardown);
|
||||
return cmocka_run_group_tests (tests, NULL, NULL);
|
||||
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
||||
|
||||
}
|
||||
|
@ -156,6 +156,6 @@ int main(int argc, char **argv) {
|
||||
};
|
||||
|
||||
//return cmocka_run_group_tests (tests, setup, teardown);
|
||||
return cmocka_run_group_tests (tests, NULL, NULL);
|
||||
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
||||
|
||||
}
|
||||
|
@ -109,6 +109,6 @@ int main(int argc, char **argv) {
|
||||
};
|
||||
|
||||
//return cmocka_run_group_tests (tests, setup, teardown);
|
||||
return cmocka_run_group_tests (tests, NULL, NULL);
|
||||
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user