forked from AuroraMiddleware/gtk
Use test AT context with installed tests
Otherwise we're going to need an AT-SPI service on the session, and the accessibility bus.
This commit is contained in:
parent
77d4729483
commit
4b60e7470a
@ -99,6 +99,7 @@ installed-tests:
|
||||
needs: []
|
||||
variables:
|
||||
EXTRA_MESON_FLAGS: "--prefix=/usr --libdir=/usr/lib64 -Dinstall-tests=true"
|
||||
G_TEST_ACCESSIBLE: 1
|
||||
script:
|
||||
- meson subprojects update
|
||||
- meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} ${BACKEND_FLAGS} ${FEATURE_FLAGS}
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@libexecdir@/installed-tests/gtk-4.0/css/api --tap -k
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @libexecdir@/installed-tests/gtk-4.0/css/api --tap -k"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@libexecdir@/installed-tests/gtk-4.0/css/change/test-css-change --tap -k
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @libexecdir@/installed-tests/gtk-4.0/css/change/test-css-change --tap -k"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@libexecdir@/installed-tests/gtk-4.0/css/nodes/test-css-nodes --tap -k
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @libexecdir@/installed-tests/gtk-4.0/css/nodes/test-css-nodes --tap -k"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@libexecdir@/installed-tests/gtk-4.0/css/parser/test-css-parser --tap -k
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @libexecdir@/installed-tests/gtk-4.0/css/parser/test-css-parser --tap -k"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@libexecdir@/installed-tests/gtk-4.0/css/style/test-css-style --tap -k
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @libexecdir@/installed-tests/gtk-4.0/css/style/test-css-style --tap -k"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@testexecdir@/@test@ --tap -k --verbose
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @testexecdir@/@test@ --tap -k --verbose"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env GSK_RENDERER=cairo @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k --verbose"
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GSK_RENDERER=cairo GTK_TEST_ACCESSIBLE=1 @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k --verbose"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env GSK_RENDERER=vulkan @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k --verbose"
|
||||
Exec=/bin/sh -c "env GTK_TEST_ACCESSIBLE=1 GSK_RENDERER=vulkan @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k --verbose"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=@testexecdir@/@test@ --tap -k --verbose
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_TEST_ACCESSIBLE=1 @testexecdir@/@test@ --tap -k --verbose"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env GTK_THEME=Adwaita:dark G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Exec=/bin/sh -c "env GTK_THEME=Adwaita:dark GTK_TEST_ACCESSIBLE=1 G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Type=session-exclusive
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env GTK_THEME=HighContrast G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Exec=/bin/sh -c "env GTK_THEME=HighContrast GTK_TEST_ACCESSIBLE=1 G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Type=session-exclusive
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env GTK_THEME=HighContrastInverse G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Exec=/bin/sh -c "env GTK_THEME=HighContrastInverse GTK_TEST_ACCESSIBLE=1 G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Type=session-exclusive
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Exec=/bin/sh -c "env GTK_TEST_ACCESSIBLE=1 G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk-4.0/gtk-reftest -k --verbose --tap --output $(pwd) --directory @libexecdir@/installed-tests/gtk-4.0/reftests"
|
||||
Type=session-exclusive
|
||||
Output=TAP
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 TEST_DATA_DIR=@testexecdir@/@test@-data @testexecdir@/@test@"
|
||||
Exec=/bin/sh -c "env GTK_TEST_ACCESSIBLE=1 G_ENABLE_DIAGNOSTIC=0 TEST_DATA_DIR=@testexecdir@/@test@-data @testexecdir@/@test@"
|
||||
Type=session
|
||||
Output=TAP
|
||||
|
Loading…
Reference in New Issue
Block a user