[gtk/matthiasc/for-master: 199/199] testsuite: Fix installed tests




commit d19e60a40d9b8424788c254bd46d6c4d52b53382
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 1 21:23:34 2020 -0400

    testsuite: Fix installed tests
    
    This broken recently, when we converted the tests
    array to a dictionary.
    
    Fixes: #2966

 testsuite/gtk/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build
index 1238882b04..286c8f38fb 100644
--- a/testsuite/gtk/meson.build
+++ b/testsuite/gtk/meson.build
@@ -260,7 +260,7 @@ endforeach
 
 if get_option('install-tests')
   foreach t : tests
-    test_name = t.get(0)
+    test_name = t.get('name')
     conf = configuration_data()
     conf.set('testexecdir', testexecdir)
     conf.set('test', test_name)


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