aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-11-15 22:00:21 +0200
committerGitHub <noreply@github.com>2021-11-15 22:00:21 +0200
commit5b08fd4b33cfa5a66340001da6264f8c0943c860 (patch)
treee639c666b4de7a07c2db945d96ec2493faf0903a /mesonbuild/interpreter/interpreter.py
parenta4b4b219085de40612e8f8b65ab994e305ea4eee (diff)
parent9a8c2d23f1591aa941294d72a95f8857ac84356a (diff)
downloadmeson-5b08fd4b33cfa5a66340001da6264f8c0943c860.zip
meson-5b08fd4b33cfa5a66340001da6264f8c0943c860.tar.gz
meson-5b08fd4b33cfa5a66340001da6264f8c0943c860.tar.bz2
Merge pull request #9565 from bonzini/invalid-run-target
reject run_target in test or install script arguments
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 3953ae1..2eb7a0a 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -192,7 +192,7 @@ known_build_target_kwargs = (
)
TEST_KWARGS: T.List[KwargInfo] = [
- KwargInfo('args', ContainerTypeInfo(list, (str, mesonlib.File, build.Target)),
+ KwargInfo('args', ContainerTypeInfo(list, (str, mesonlib.File, build.BuildTarget, build.CustomTarget)),
listify=True, default=[]),
KwargInfo('should_fail', bool, default=False),
KwargInfo('timeout', int, default=30),