diff options
author | Dodji Seketeli <dodji@src.gnome.org> | 2003-04-01 21:41:06 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@src.gnome.org> | 2003-04-01 21:41:06 +0000 |
commit | 2be8913dcd95577023913e7a1bc331a10b70d5ac (patch) | |
tree | f154483bd508ab6c9123c883268353a21ef13690 /tests/test5-main.c | |
parent | bbd278d70458559b8aa323e0494d2673898caf7d (diff) | |
download | libcroco-2be8913dcd95577023913e7a1bc331a10b70d5ac.tar.gz |
Went forward on the testctl front.
Can now run non regression tests and get simple ok/ko report.
Dodji.
Diffstat (limited to 'tests/test5-main.c')
-rw-r--r-- | tests/test5-main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/test5-main.c b/tests/test5-main.c index c8e0a69..1912027 100644 --- a/tests/test5-main.c +++ b/tests/test5-main.c @@ -273,13 +273,9 @@ main (int argc, char ** argv) status = test_sel_eng (options.files_list[0]) ; - if (status == CR_OK) + if (status != CR_OK) { - g_printerr ("\nOK\n") ; - } - else - { - g_printerr ("\nKO\n") ; + g_print ("\nKO\n") ; } return 0 ; |