aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-08-25 04:26:41 +1000
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-24 21:26:41 +0300
commit4ebce2c3f25d98f9ba49d9fcc343ffbe760363af (patch)
tree9620b6f72a4c713e30c90c5c5e5823cd24a98bd3 /docs/markdown/Reference-manual.md
parente3b21de5630e009f130d2e160a6fc125b5f84e31 (diff)
downloadmeson-4ebce2c3f25d98f9ba49d9fcc343ffbe760363af.zip
meson-4ebce2c3f25d98f9ba49d9fcc343ffbe760363af.tar.gz
meson-4ebce2c3f25d98f9ba49d9fcc343ffbe760363af.tar.bz2
Add test priorities to force test start order
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index a89d939..bdcbe1f 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1520,6 +1520,12 @@ Keyword arguments are the following:
Protocol](https://www.testanything.org/)). For more on the Meson test
harness protocol read [Unit Tests](Unit-tests.md). Since 0.50.0
+- `priority` specifies the priority of a test. Tests with a
+ higher priority are *started* before tests with a lower priority.
+ The starting order of tests with identical priorities is
+ implementation-defined. The default priority is 0, negative numbers are
+ permitted. Since 0.52.0
+
Defined tests can be run in a backend-agnostic way by calling
`meson test` inside the build dir, or by using backend-specific
commands, such as `ninja test` or `msbuild RUN_TESTS.vcxproj`.