aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorChristoph Weiss <weiss@wsoptics.de>2019-07-12 10:01:36 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-12 21:51:17 +0300
commit185238fdb479e2f7007ccda47e59b65557b7ee4b (patch)
tree322cef6459eba3105eb9fd647309ebb30cb7a7dd /man
parent264533cb67261bcf424f8f84e3a32b43d1704a02 (diff)
downloadmeson-185238fdb479e2f7007ccda47e59b65557b7ee4b.zip
meson-185238fdb479e2f7007ccda47e59b65557b7ee4b.tar.gz
meson-185238fdb479e2f7007ccda47e59b65557b7ee4b.tar.bz2
Change meson test's build failure exit code to 125
Diffstat (limited to 'man')
-rw-r--r--man/meson.116
1 files changed, 16 insertions, 0 deletions
diff --git a/man/meson.1 b/man/meson.1
index e7c1ecb..5b0dc30 100644
--- a/man/meson.1
+++ b/man/meson.1
@@ -124,6 +124,18 @@ The default way of running tests is to invoke the default build command:
.B meson test
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:"
.TP
\fB\-\-repeat\fR
@@ -214,6 +226,10 @@ Usage error, or an error parsing or executing meson.build.
.B 2
Internal error.
.TP
+.B 125
+.B meson test
+could not rebuild the required targets.
+.TP
.SH SEE ALSO