summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2024-02-23 11:40:15 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-02-24 09:08:20 -0800
commit11f2e07071d062f31a69de531faa0a5d68b1f5bc (patch)
tree0361645f1bed81d4a76ff3cbbda9399168221706 /docs
parent8ba0ea68017b489b0a461abbd375f319dc7a48f3 (diff)
downloadmeson-11f2e07071d062f31a69de531faa0a5d68b1f5bc.tar.gz
Allow using CustomTarget as test executable
Fixes #6567
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/test_using_custom_target_executable.md4
-rw-r--r--docs/yaml/functions/benchmark.yaml5
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/markdown/snippets/test_using_custom_target_executable.md b/docs/markdown/snippets/test_using_custom_target_executable.md
new file mode 100644
index 000000000..e8b08da6b
--- /dev/null
+++ b/docs/markdown/snippets/test_using_custom_target_executable.md
@@ -0,0 +1,4 @@
+## Use `custom_target` as test executable
+
+The [[test]] function now accepts [[@custom_tgt]] and [[@custom_idx]] for the
+command to execute.
diff --git a/docs/yaml/functions/benchmark.yaml b/docs/yaml/functions/benchmark.yaml
index 9d0ca3116..0323b26e4 100644
--- a/docs/yaml/functions/benchmark.yaml
+++ b/docs/yaml/functions/benchmark.yaml
@@ -22,8 +22,9 @@ posargs:
description: The *unique* test id
executable:
- type: exe | jar | external_program | file
- description: The program to execute
+ type: exe | jar | external_program | file | custom_tgt | custom_idx
+ description: |
+ The program to execute. *(Since 1.4.0)* A CustomTarget is also accepted.
kwargs:
args: