summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2020-02-05 21:12:11 -0500
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2020-02-06 22:03:50 +0000
commitc33cfd70c09be5aa80832394869f9e87339cc7b8 (patch)
tree78e7b3afcdcd626e11504ed4d2520a6e6ad74ac3 /tests
parent40c4d6805bea641c315d8060cf02a1fac1cb6141 (diff)
downloadlibnice-c33cfd70c09be5aa80832394869f9e87339cc7b8.tar.gz
test-io-common: Abort on error
Diffstat (limited to 'tests')
-rw-r--r--tests/test-io-stream-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-io-stream-common.c b/tests/test-io-stream-common.c
index 0f9adec..5c86850 100644
--- a/tests/test-io-stream-common.c
+++ b/tests/test-io-stream-common.c
@@ -70,6 +70,7 @@ static gboolean timer_cb (gpointer pointer)
/* note: should not be reached, abort */
g_debug ("ERROR: test has got stuck, aborting...");
+ abort();
exit (-1);
}