testsuite: Point performance tests at uninstalled schemas
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jan 2020 00:51:14 +0000 (19:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jan 2020 00:51:14 +0000 (19:51 -0500)
widget-factory won't run otherwise.

testsuite/css/performance/meson.build

index afceb45d26d0b56fd11d84e1d1f3d5950aac4b54..781b1b3658e125bde14f3ba5791ee7775c0fe932 100644 (file)
@@ -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