[tracker/wip/carlosg/junit: 3/11] tests: Fake TAP output in ad-hoc test




commit f98dc91d49a960d8c652c47933d7e0d30aa1bede
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Dec 10 16:53:26 2020 +0100

    tests: Fake TAP output in ad-hoc test
    
    The insert-or-replace test does not use the GLib infrastructure,
    have it output TAP format of sorts.

 tests/libtracker-data/tracker-insert-or-replace-test.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/tests/libtracker-data/tracker-insert-or-replace-test.c 
b/tests/libtracker-data/tracker-insert-or-replace-test.c
index 28d30a7de..1e8183595 100644
--- a/tests/libtracker-data/tracker-insert-or-replace-test.c
+++ b/tests/libtracker-data/tracker-insert-or-replace-test.c
@@ -135,6 +135,7 @@ main (int argc, char *argv[])
        gchar *query;
        gint i;
 
+       g_print ("1..1\n");
        test_data_dir = g_build_filename (g_get_tmp_dir (),
                                          "insert-or-replace-test-data-XXXXXX",
                                          NULL);
@@ -170,5 +171,7 @@ main (int argc, char *argv[])
        g_object_unref (cache);
        g_object_unref (ontology);
 
+       g_print ("ok 1 /libtracker-data/insert-or-replace\n");
+
        return 0;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]