Commit fb3fdbb3 authored by Daniel Espinosa Ortiz's avatar Daniel Espinosa Ortiz

CI: making non-interactive tests

parent a830d7b7
Pipeline #42001 failed with stages
in 23 seconds
......@@ -11,7 +11,7 @@ variables:
valac libgee-0.8-dev gettext
gnome-common libtool-bin
gobject-introspection libgirepository1.0-dev valadoc
yelp-tools iso-codes git
yelp-tools iso-codes git libvala-0.44-dev libvala-0.44-dev
GIT_SUBMODULE_STRATEGY: normal
......@@ -23,7 +23,9 @@ before_script:
build-gxml:
stage: build
script:
- meson _build
- broadwayd &
- GDK_BACKEND=broadway make check
- meson _build -Dui-test-interactive=false --prefix=/usr
- cd _build
- ninja
- meson test
......
......@@ -325,8 +325,9 @@ class Tests {
()=>{
Server server = new GServer () as Server;
try {
server.add_default_namespaces ();
assert (server.vapi_dirs.get_n_items () > 1);
server.add_default_vapi_dirs ();
message ("VAPI dirs: %u", server.vapi_dirs.get_n_items ());
assert (server.vapi_dirs.get_n_items () >= 1);
server.add_namespace ("Gee");
assert (server.get_symbol ("Gee") != null);
server.add_namespace ("Vala");
......
......@@ -41,7 +41,7 @@ class Tests {
w.set_wrap_mode (Gtk.WrapMode.WORD);
w.set_auto_indent (true);
w.set_indent_on_tab (true);
win.waiting_for_event = true;
win.waiting_for_event = TestConfig.INTERACTIVE;
w.server = server;
win.widget = w;
win.add_test ("Parse pre-defined buffer", "A text on view should be parsed. Try to use a symbol");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment