tests: Depend on compiled schemas
The carefree developer might try running meson test before meson compile, leaving them with failing feedback-vibra and feedback-profile tests: Start of feedbackd tests Start of fbd tests Start of feedback-vibra tests fbd-feedback-manager-DEBUG: No vibra capable device found fbd-feedback-manager-DEBUG: Failed to init leds device: No usable LEDs found not ok /feedbackd/fbd/feedback-vibra/pattern - GLib-GIO-FATAL-ERROR: No GSettings schemas are installed on the system Bail out! Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ dbus_inc = include_directories('.')
|
||||
install_data(dbus_interfaces, install_dir: ifacedir)
|
||||
|
||||
schemas = ['org.sigxcpu.feedbackd.gschema.xml']
|
||||
compiled = gnome.compile_schemas(depend_files: schemas, build_by_default: true)
|
||||
compiled_schemas = gnome.compile_schemas(depend_files: schemas, build_by_default: true)
|
||||
|
||||
compile_schemas = find_program('glib-compile-schemas', required: false)
|
||||
if compile_schemas.found()
|
||||
|
||||
Reference in New Issue
Block a user