gtester: Return a failure exit code when a test fails
authorBenjamin Otte <otte@gnome.org>
Mon, 18 Jul 2011 11:39:36 +0000 (13:39 +0200)
committerBenjamin Otte <otte@gnome.org>
Mon, 18 Jul 2011 11:41:26 +0000 (13:41 +0200)
commit4a25d6002341df796e13643695478a4ecb4c7a49
tree9da5a40a3977c0b0e05305afde2a4a07e5f399f0
parentdd1316ba92eba170bcba0425ec1b55faeb2bceed
gtester: Return a failure exit code when a test fails

Previously, gtester used the testcase_fail_count as the number of tests
that failed in the latest run testcase, but then use that as the return
value of main().

Now we count the failed testcases of the whole run.
glib/gtester.c