https://github.com/ita-sc updated https://github.com/llvm/llvm-project/pull/89765
>From 3d95e1f223eb7ccdd5b382d8d5e47d98421cc870 Mon Sep 17 00:00:00 2001 From: Ivan Tetyushkin <ivan.tetyush...@syntacore.com> Date: Thu, 11 Apr 2024 12:22:19 +0300 Subject: [PATCH] [lldb][tests] Add ability to run API tests with qemu-user simulator --- lldb/test/API/lit.cfg.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index 9d6775917e1370..b32aa5bfd9f86e 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -162,6 +162,9 @@ def delete_module_cache(path): elif lldb_use_simulator == "tvos": lit_config.note("Running API tests on tvOS simulator") config.available_features.add("lldb-simulator-tvos") + elif lldb_use_simulator == "qemu-user": + lit_config.note("Running API tests on qemu-user simulator") + config.available_features.add("lldb-simulator-qemu-user") else: lit_config.error("Unknown simulator id '{}'".format(lldb_use_simulator)) @@ -268,6 +271,9 @@ def delete_module_cache(path): "tvos-simulator", ] +if "lldb-simulator-qemu-user" in config.available_features: + dotest_cmd += ["--platform-name", "qemu-user"] + if is_configured("enabled_plugins"): for plugin in config.enabled_plugins: dotest_cmd += ["--enable-plugin", plugin] _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits