From 2a64ed855e6db81c3df4659e1066f777b9bacc8c Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Fri, 27 Oct 2017 14:39:10 +0100 Subject: Verify that failing tests are failing with an error, not a python exception PR #2527 suggests "making failing tests more strict about failing gracefully". To achive this, make meson exit with distinct exit statuses for meson errors and python exceptions, and check the exit status is as expected for failing tests. I can't see how to write a test for this, within the current framework. You can test this change by reverting the fix (but not the test) from commit 1a159db8 and verifying that 'test cases/failing/66 string as link target' fails. --- docs/markdown/Running-Meson.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/Running-Meson.md b/docs/markdown/Running-Meson.md index 23d5e97..14b2d19 100644 --- a/docs/markdown/Running-Meson.md +++ b/docs/markdown/Running-Meson.md @@ -146,3 +146,9 @@ Meson has a standard command line help feature. It can be accessed with the following command. meson --help + +Exit status +== + +Meson exits with status 0 if successful, 1 for problems with the command line or +meson.build file, and 2 for internal errors. -- cgit v1.1