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




commit a7f3f48c3c37013d792559d23d3df06e482d8177
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]