mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
Benchmarks need to abort on the first assertion hit, even in the hot variety, to assist with debugging.
Copied from Perforce Change: 186787 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
5cd56a290f
commit
63c4b56bf9
2 changed files with 2 additions and 0 deletions
|
|
@ -362,6 +362,7 @@ int main(int argc, char *argv[]) {
|
|||
fprintf(stderr, "unknown pool test \"%s\"\n", argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
found:
|
||||
(void)mps_lib_assert_fail_install(assert_die);
|
||||
rnd_state_set(seed);
|
||||
pools[i].wrap(pools[i].dj, pools[i].pool_class(), pools[i].name);
|
||||
--argc;
|
||||
|
|
|
|||
|
|
@ -455,6 +455,7 @@ int main(int argc, char *argv[]) {
|
|||
fprintf(stderr, "unknown pool test \"%s\"\n", argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
found:
|
||||
(void)mps_lib_assert_fail_install(assert_die);
|
||||
rnd_state_set(seed);
|
||||
arena_setup(pools[i].fn, pools[i].pool_class(), pools[i].name);
|
||||
--argc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue