mutter: Use role="test" for test instruction

This commit is contained in:
Xi Ruoyao 2023-02-17 18:32:27 +08:00
parent e3b16bb22d
commit e3c278d316
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -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