mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Restructure for clarity.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13943 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3a2fa62d87
commit
728dc7a8d0
@ -95,14 +95,19 @@ main (int argc, char **argv)
|
||||
|
||||
/* Always start from the same random seed so we fail consistently */
|
||||
srand(0);
|
||||
if(cashobjects_register()) {
|
||||
/* Loop the test. */
|
||||
for (i=0; i < 10; i++)
|
||||
{
|
||||
run_test ();
|
||||
}
|
||||
if(!cashobjects_register()) {
|
||||
failure("can't register cashbojects");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* Loop the test. */
|
||||
for (i=0; i < 10; i++)
|
||||
{
|
||||
run_test ();
|
||||
}
|
||||
success("queries seem to work");
|
||||
|
||||
cleanup:
|
||||
qof_close();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user