summaryrefslogtreecommitdiff
path: root/tests/asv.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-03-17 14:18:29 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-03-17 14:18:29 +0000
commit6acf79bcc856a20e92106f47be1d33996ac3f68c (patch)
treea6a592cbd28371739c8b292282fcd4dbe1da3418 /tests/asv.c
parent4c1f2d6068ceaf1f334584284bb71cc4a13ef06d (diff)
downloadtelepathy-glib-6acf79bcc856a20e92106f47be1d33996ac3f68c.tar.gz
tests: remove the option to carry on after a failure
Instead of raising a g_critical, attempting to continue, and returning 1 later, we might as well just crash out. This is consistent with GTest, too.
Diffstat (limited to 'tests/asv.c')
-rw-r--r--tests/asv.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/asv.c b/tests/asv.c
index 18b9bd073..545bb98d1 100644
--- a/tests/asv.c
+++ b/tests/asv.c
@@ -7,14 +7,6 @@
#include "tests/lib/myassert.h"
-static int fail = 0;
-
-static void
-myassert_failed (void)
-{
- fail = 1;
-}
-
int main (int argc, char **argv)
{
GHashTable *hash;
@@ -683,5 +675,5 @@ int main (int argc, char **argv)
g_hash_table_destroy (hash);
- return fail;
+ return 0;
}