aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-02-27 21:40:32 +0200
committerGitHub <noreply@github.com>2018-02-27 21:40:32 +0200
commit59e7ea169f3d875b2dfefc0d7a41a2ea9eca08f0 (patch)
tree2bc543667d64e910b34be00fe7847fb6dbb3e8ab /docs/markdown/snippets
parent16f80b4c506bba9839e30bd98fcbbafddcef3632 (diff)
parent4f8db1fe47056fa650236c9c89ddd4814a271174 (diff)
downloadmeson-59e7ea169f3d875b2dfefc0d7a41a2ea9eca08f0.zip
meson-59e7ea169f3d875b2dfefc0d7a41a2ea9eca08f0.tar.gz
meson-59e7ea169f3d875b2dfefc0d7a41a2ea9eca08f0.tar.bz2
Merge pull request #2311 from trhd/setups
Improve test setup selection.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/test-setups.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/markdown/snippets/test-setups.md b/docs/markdown/snippets/test-setups.md
new file mode 100644
index 0000000..4598e73
--- /dev/null
+++ b/docs/markdown/snippets/test-setups.md
@@ -0,0 +1,16 @@
+## Improve test setup selection
+
+Test setups are now identified (also) by the project they belong to and it
+is possible to select the used test setup from a specific project. E.g.
+to use a test setup `some_setup` from project `some_project` for all
+executed tests one can use
+
+ meson test --setup some_project:some_setup
+
+Should one rather want test setups to be used from the same project as
+where the current test itself has been defined, one can use just
+
+ meson test --setup some_setup
+
+In the latter case every (sub)project must have a test setup `some_setup`
+defined in it.