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/test2-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/test2-main.c')
-rw-r--r-- | tests/test2-main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test2-main.c b/tests/test2-main.c index ee255d1..1b060e9 100644 --- a/tests/test2-main.c +++ b/tests/test2-main.c @@ -635,11 +635,7 @@ main (int argc, char ** argv) status = test_cr_parser_parse (options.files_list[0]) ; - if (status == CR_OK) - { - fprintf (stdout,"OK\n") ; - } - else + if (status != CR_OK) { fprintf (stdout,"KO\n") ; } |