summaryrefslogtreecommitdiff
path: root/tests/test5-main.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-04-01 21:41:06 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-04-01 21:41:06 +0000
commit2be8913dcd95577023913e7a1bc331a10b70d5ac (patch)
treef154483bd508ab6c9123c883268353a21ef13690 /tests/test5-main.c
parentbbd278d70458559b8aa323e0494d2673898caf7d (diff)
downloadlibcroco-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.c8
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 ;