[Libosinfo] [Patch] tests: continue after failure in mediauris & treeuris

Vera Cholasta vbudikov at redhat.com
Thu Nov 8 19:51:19 UTC 2018


---
 tests/test-mediauris.c | 1 +
 tests/test-treeuris.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/test-mediauris.c b/tests/test-mediauris.c
index c4fa356..443fdc3 100644
--- a/tests/test-mediauris.c
+++ b/tests/test-mediauris.c
@@ -115,6 +115,7 @@ main(int argc, char *argv[])
     int ret;
 
     g_test_init(&argc, &argv, NULL);
+    g_test_set_nonfatal_assertions();
 
     g_test_add_func("/mediauris/uris", test_uris);
 
diff --git a/tests/test-treeuris.c b/tests/test-treeuris.c
index b0b14e1..9b5c679 100644
--- a/tests/test-treeuris.c
+++ b/tests/test-treeuris.c
@@ -115,6 +115,7 @@ main(int argc, char *argv[])
     int ret;
 
     g_test_init(&argc, &argv, NULL);
+    g_test_set_nonfatal_assertions();
 
     g_test_add_func("/treeuris/uris", test_uris);
 
-- 
2.18.1




More information about the Libosinfo mailing list