aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-04 02:52:05 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-03-20 17:22:50 -0400
commitcfc1abcfafb3b067b64f85953721b44b8066dedc (patch)
tree8e49511c9c1ece4ba3e2ef5fb378cf4fdb162225 /run_tests.py
parenta024d75e150334330954bf7a6fdbe8cb02a82491 (diff)
downloadmeson-cfc1abcfafb3b067b64f85953721b44b8066dedc.zip
meson-cfc1abcfafb3b067b64f85953721b44b8066dedc.tar.gz
meson-cfc1abcfafb3b067b64f85953721b44b8066dedc.tar.bz2
project tests: add log of the setup command being run
Followup to commit 2acb6ee79e24db047800da30f5f4ac52cb9c012d.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.py b/run_tests.py
index 89ae3b5..68a222c 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -327,11 +327,11 @@ def run_configure_external(full_command: T.List[str], env: T.Optional[T.Dict[str
pc, o, e = mesonlib.Popen_safe(full_command, env=env)
return pc.returncode, o, e
-def run_configure(commandlist: T.List[str], env: T.Optional[T.Dict[str, str]] = None, catch_exception: bool = False) -> T.Tuple[int, str, str]:
+def run_configure(commandlist: T.List[str], env: T.Optional[T.Dict[str, str]] = None, catch_exception: bool = False) -> T.Tuple[bool, T.Tuple[int, str, str]]:
global meson_exe
if meson_exe:
- return run_configure_external(meson_exe + commandlist, env=env)
- return run_configure_inprocess(commandlist, env=env, catch_exception=catch_exception)
+ return (False, run_configure_external(meson_exe + commandlist, env=env))
+ return (True, run_configure_inprocess(commandlist, env=env, catch_exception=catch_exception))
def print_system_info():
print(mlog.bold('System information.'))