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