aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2021-06-21 17:23:12 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2021-07-02 21:58:22 +0300
commit6f3f43bb2d31797b0f3128e1664652571fe314e6 (patch)
treeb99380e37d6ffd64b88cde1a3bae9e113f918a00 /mesonbuild
parent210065ffe8c158e0bd53b775e8fe0f009845b747 (diff)
downloadmeson-6f3f43bb2d31797b0f3128e1664652571fe314e6.zip
meson-6f3f43bb2d31797b0f3128e1664652571fe314e6.tar.gz
meson-6f3f43bb2d31797b0f3128e1664652571fe314e6.tar.bz2
Flatten test suite value
This behavior is more inline with the rest of Meson
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreter/interpreterobjects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreterobjects.py b/mesonbuild/interpreter/interpreterobjects.py
index 76d5b16..ef1aae3 100644
--- a/mesonbuild/interpreter/interpreterobjects.py
+++ b/mesonbuild/interpreter/interpreterobjects.py
@@ -17,7 +17,7 @@ from ..interpreterbase import (
ContainerTypeInfo, KwargInfo,
InterpreterObject, MesonInterpreterObject, ObjectHolder, MutableInterpreterObject,
FeatureCheckBase, FeatureNewKwargs, FeatureNew, FeatureDeprecated,
- typed_pos_args, typed_kwargs, KwargInfo, stringArgs, permittedKwargs,
+ typed_pos_args, typed_kwargs, stringArgs, permittedKwargs,
noArgsFlattening, noPosargs, noKwargs, permissive_unholder_return, TYPE_var, TYPE_kwargs, TYPE_nvar, TYPE_nkwargs,
flatten, resolve_second_level_holders, InterpreterException, InvalidArguments, InvalidCode)
from ..dependencies import Dependency, ExternalLibrary, InternalDependency
@@ -675,7 +675,7 @@ class Test(MesonInterpreterObject):
priority: int):
super().__init__()
self.name = name
- self.suite = suite
+ self.suite = listify(suite)
self.project_name = project
self.exe = exe
self.depends = depends