mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make the bug#147025 failure reproducible.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10187 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b3cea34b4b
commit
eafd96227c
@ -59,12 +59,15 @@ main_helper (void *closure, int argc, char **argv)
|
|||||||
* automatically fail! */
|
* automatically fail! */
|
||||||
g_log_set_always_fatal( G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING );
|
g_log_set_always_fatal( G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING );
|
||||||
|
|
||||||
set_success_print (TRUE);
|
//set_success_print (TRUE);
|
||||||
|
|
||||||
do_test((NULL!=gnc_module_load("gnucash/engine", 0)), "load engine");
|
do_test((NULL!=gnc_module_load("gnucash/engine", 0)), "load engine");
|
||||||
|
|
||||||
|
/* Set up a reproducible test-case */
|
||||||
|
srand(0);
|
||||||
|
|
||||||
/* Iterate the test a number of times */
|
/* Iterate the test a number of times */
|
||||||
for (i=0; i< 6; i++)
|
for (i=0; i< 100; i++)
|
||||||
{
|
{
|
||||||
run_test ();
|
run_test ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user