[gcr] egg: Make sure names for encode-decode tests are different



commit 9f134c2de1951595f228b800236fc562b9ed3867
Author: Dmitry Shachnev <mitya57 ubuntu com>
Date:   Wed Sep 30 14:46:44 2015 +0300

    egg: Make sure names for encode-decode tests are different
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755873

 egg/test-asn1x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/egg/test-asn1x.c b/egg/test-asn1x.c
index fec410e..8ec176a 100644
--- a/egg/test-asn1x.c
+++ b/egg/test-asn1x.c
@@ -186,7 +186,7 @@ main (int argc, char **argv)
        g_test_init (&argc, &argv, NULL);
 
        for (i = 0; i < G_N_ELEMENTS (parse_test_fixtures); i++) {
-               name = g_strdup_printf ("/asn1x/encode-decode-%s", parse_test_fixtures[i].identifier);
+               name = g_strdup_printf ("/asn1x/encode-decode-%d-%s", i, parse_test_fixtures[i].identifier);
                g_test_add (name, Test, &parse_test_fixtures[i], setup_parsing, test_decode_encode, teardown);
                g_free (name);
        }


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