git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6195 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-12-04 22:40:16 +00:00
parent 9f97340832
commit 66b6b43da3

View File

@ -25,11 +25,11 @@ run_test (void)
GNCBook *book;
Timespec ts;
int ok = 1;
if (!ok)
{
failure ("its borken");
}
int ok = 1;
if (!ok)
{
failure ("its borken");
}
book = gnc_book_new ();
if (!book)
@ -47,13 +47,14 @@ int ok = 1;
gnc_book_set_group (book, grp);
success ("periods work but wern't really tested yet");
}
int
main (int argc, char **argv)
static void
main_helper (int argc, char **argv)
{
gnc_module_load("gnucash/engine", 0);
run_test ();
success ("periods aren't realy tested yet");
@ -61,3 +62,10 @@ main (int argc, char **argv)
print_test_results();
exit(get_rv());
}
int
main (int argc, char **argv)
{
gh_enter (argc, argv, main_helper);
return 0;
}