|
|
@ -124,6 +124,18 @@ The default way of running tests is to invoke the default build command: |
|
|
|
.B meson test |
|
|
|
.B meson test |
|
|
|
provides a richer set of tools for invoking tests. |
|
|
|
provides a richer set of tools for invoking tests. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.B meson test |
|
|
|
|
|
|
|
automatically rebuilds the necessary targets to run tests when used with the Ninja backend. |
|
|
|
|
|
|
|
Upon build failure, |
|
|
|
|
|
|
|
.B meson test |
|
|
|
|
|
|
|
will return an exit code of 125. |
|
|
|
|
|
|
|
This return code tells |
|
|
|
|
|
|
|
.B git bisect run |
|
|
|
|
|
|
|
to skip the current commit. |
|
|
|
|
|
|
|
Thus bisecting using git can be done conveniently like this. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.B git bisect run meson test -C build_dir |
|
|
|
|
|
|
|
|
|
|
|
.SS "options:" |
|
|
|
.SS "options:" |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
\fB\-\-repeat\fR |
|
|
|
\fB\-\-repeat\fR |
|
|
@ -214,6 +226,10 @@ Usage error, or an error parsing or executing meson.build. |
|
|
|
.B 2 |
|
|
|
.B 2 |
|
|
|
Internal error. |
|
|
|
Internal error. |
|
|
|
.TP |
|
|
|
.TP |
|
|
|
|
|
|
|
.B 125 |
|
|
|
|
|
|
|
.B meson test |
|
|
|
|
|
|
|
could not rebuild the required targets. |
|
|
|
|
|
|
|
.TP |
|
|
|
|
|
|
|
|
|
|
|
.SH SEE ALSO |
|
|
|
.SH SEE ALSO |
|
|
|
|
|
|
|
|
|
|
|