Author: ita-sc Date: 2025-03-06T09:57:03Z New Revision: 8eec3d77a93aa3111426a2988fc0a3ac927899a0
URL: https://github.com/llvm/llvm-project/commit/8eec3d77a93aa3111426a2988fc0a3ac927899a0 DIFF: https://github.com/llvm/llvm-project/commit/8eec3d77a93aa3111426a2988fc0a3ac927899a0.diff LOG: [lldb][tests] Add ability to run API tests with qemu-user simulator (#89765) Added: Modified: lldb/test/API/lit.cfg.py Removed: ################################################################################ diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index 06c685ebc3f5a..08cf11c8a68db 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -179,6 +179,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)) @@ -285,6 +288,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