[gtk/matthiasc/perf-tests] testsuite: Point performance tests at uninstalled schemas



commit 81ddf4b9466c324b22becc0125b92cf296ec82d4
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 21 19:51:14 2020 -0500

    testsuite: Point performance tests at uninstalled schemas
    
    widget-factory won't run otherwise.

 testsuite/css/performance/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/testsuite/css/performance/meson.build b/testsuite/css/performance/meson.build
index afceb45d26..781b1b3658 100644
--- a/testsuite/css/performance/meson.build
+++ b/testsuite/css/performance/meson.build
@@ -4,6 +4,7 @@ if get_option ('profiler')
 
   test('performance', test_css_performance,
        args: [ join_paths(meson.current_build_dir(), '../../../demos/widget-factory/gtk4-widget-factory') ],
-       env: [ 'GTK_THEME=Adwaita' ],
+       env: [ 'GTK_THEME=Adwaita',
+              'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ],
        suite: [ 'css' ])
 endif


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