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




commit 0709cb278fbd91792ec6529b0d338341553b7b98
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 603c405a0..fd1cc7c4b 100644
--- a/tests/libtracker-data/tracker-insert-or-replace-test.c
+++ b/tests/libtracker-data/tracker-insert-or-replace-test.c
@@ -136,6 +136,7 @@ main (int argc, char *argv[])
        gint i;
        GTimer *timer;
 
+       g_print ("1..1\n");
        test_data_dir = g_build_filename (g_get_tmp_dir (),
                                          "insert-or-replace-test-data-XXXXXX",
                                          NULL);
@@ -182,5 +183,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]