[nautilus] build: Set graphical tests off by default
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] build: Set graphical tests off by default
- Date: Tue, 30 Jan 2018 13:43:27 +0000 (UTC)
commit c2da3680a28a7f62b3e76e7955c61a0822fc9e59
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Jan 30 14:29:56 2018 +0100
build: Set graphical tests off by default
When nautilus is automatically tests we cannot assume there is a
display, if we do and we run inside a displayless scenario nautilus
cannot run the application and the tests fail.
Graphical tests were enabled by default, but this breaks most common
automatic tests scenarios, so let's disable it by default and let the
developers enable if required.
We should focus more in unit testing and integration tests without an
actual display, and let tools like OpenQA, etc. to handle actual display
testing. Alternatively we can use Xvfb to simulate a graphical env.
meson_options.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 7db1ca670..aadbdfead 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -3,4 +3,4 @@ option('profiling', type: 'boolean', value: false)
option('nst_extension', type: 'boolean', value: true)
option('packagekit', type: 'boolean', value: true)
option('selinux', type: 'boolean', value: false)
-option('display-tests', type: 'boolean', value: true)
+option('display-tests', type: 'boolean', value: false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]