[gnome-shell/wip/fmuellner/test-theme: 12/12] build: Include test-theme in tests



commit c645dc9724dc0fa2dc468b83953bec46ee3112fc
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 26 01:58:44 2019 +0100

    build: Include test-theme in tests
    
    It's an existing test that doesn't require interaction, so there's
    no reason why it shouldn't be run by `ninja test`.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/419

 src/st/meson.build | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/st/meson.build b/src/st/meson.build
index 21756eb07..636ae4fe7 100644
--- a/src/st/meson.build
+++ b/src/st/meson.build
@@ -137,9 +137,14 @@ test_theme = executable('test-theme',
   sources: 'test-theme.c',
   c_args: st_cflags,
   dependencies: [clutter_dep, gtk_dep],
+  build_rpath: mutter_typelibdir,
   link_with: libst
 )
 
+test('CSS styling support', test_theme,
+  workdir: meson.current_source_dir()
+)
+
 libst_gir = gnome.generate_gir(libst,
   sources: st_gir_sources,
   nsversion: '1.0',


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