mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
mutter: Use role="test" for test instruction
This commit is contained in:
parent
e3b16bb22d
commit
e3c278d316
@ -191,15 +191,24 @@ ninja</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you wish to run the tests, remove the reference to
|
||||
<application>Zenity</application> which is not a part of BLFS
|
||||
from one test:
|
||||
</para>
|
||||
|
||||
<screen role='test'><userinput>sed 's/zenity --[a-z]*/gtk3-demo/' -i ../src/tests/x11-test.sh</userinput></screen>
|
||||
|
||||
<para>
|
||||
Now run the test suite:
|
||||
</para>
|
||||
|
||||
<!-- Without "HOME=" one test can fail with certain monitor
|
||||
configuration in $HOME/.config/monitors.xml. -->
|
||||
<screen role='test'><userinput>HOME= ninja test</userinput></screen>
|
||||
|
||||
<para>
|
||||
The tests can now be run: issue
|
||||
<command>sed 's/zenity --[a-z]*/gtk3-demo/' -i ../src/tests/x11-test.sh</command>
|
||||
to remove the reference to <application>Zenity</application>
|
||||
(it's no longer a part of BLFS) from one test, then
|
||||
issue <command>HOME= ninja test</command>. The tests
|
||||
require an active X or wayland session.
|
||||
The tests require an active X or wayland session.
|
||||
The <filename>native-unit</filename> test is known to fail.
|
||||
A lot of tests will fail if the opengl rendering is not done in hardware.
|
||||
Don't make any mouse or keyboard input while the test suite is
|
||||
|
Loading…
Reference in New Issue
Block a user