Merge pull request #2777 from hwangcc23/update-testsuite-doc
Update testsuite docs
This commit is contained in:
commit
5fc00e2d18
|
@ -114,7 +114,18 @@ machines without a powerful video card.
|
||||||
|
|
||||||
.Example invocation of complete-run.pl+
|
.Example invocation of complete-run.pl+
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
$ cd ~/i3/testcases
|
$ cd ~/i3
|
||||||
|
|
||||||
|
$ autoreconf -fi
|
||||||
|
|
||||||
|
$ mkdir -p build && cd build
|
||||||
|
|
||||||
|
$ ../configure
|
||||||
|
|
||||||
|
$ make -j8
|
||||||
|
# output omitted because it is very long
|
||||||
|
|
||||||
|
$ cd testcases
|
||||||
|
|
||||||
$ ./complete-run.pl
|
$ ./complete-run.pl
|
||||||
# output omitted because it is very long
|
# output omitted because it is very long
|
||||||
|
@ -160,6 +171,41 @@ $ ./complete-run.pl --parallel=1 --keep-xserver-output
|
||||||
This will show the output of Xephyr, which is the X server implementation we
|
This will show the output of Xephyr, which is the X server implementation we
|
||||||
use for testing.
|
use for testing.
|
||||||
|
|
||||||
|
===== make command: make check
|
||||||
|
Make check runs the i3 testsuite.
|
||||||
|
You can still use ./testcases/complete-run.pl to get the interactive progress output.
|
||||||
|
|
||||||
|
.Example invocation of make check+
|
||||||
|
---------------------------------------
|
||||||
|
$ cd ~/i3
|
||||||
|
|
||||||
|
$ autoreconf -fi
|
||||||
|
|
||||||
|
$ mkdir -p build && cd build
|
||||||
|
|
||||||
|
$ ../configure
|
||||||
|
|
||||||
|
$ make -j8
|
||||||
|
# output omitted because it is very long
|
||||||
|
|
||||||
|
$ make check
|
||||||
|
# output omitted because it is very long
|
||||||
|
PASS: testcases/complete-run.pl
|
||||||
|
============================================================================
|
||||||
|
Testsuite summary for i3 4.13
|
||||||
|
============================================================================
|
||||||
|
# TOTAL: 1
|
||||||
|
# PASS: 1
|
||||||
|
# SKIP: 0
|
||||||
|
# XFAIL: 0
|
||||||
|
# FAIL: 0
|
||||||
|
# XPASS: 0
|
||||||
|
# ERROR: 0
|
||||||
|
============================================================================
|
||||||
|
|
||||||
|
$ less test-suite.log
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
==== Coverage testing
|
==== Coverage testing
|
||||||
|
|
||||||
Coverage testing is possible with +lcov+, the front-end for GCC's coverage
|
Coverage testing is possible with +lcov+, the front-end for GCC's coverage
|
||||||
|
|
Loading…
Reference in New Issue