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]