Lines Matching refs:platform
27 import platform
52 if sys.platform == "win32":
213 platform_system = platform.system()
214 platform_machine = platform.machine()
409 if sys.platform.startswith("win32"):
604 if "freebsd" in sys.platform or "linux" in sys.platform:
755 if not sys.platform.startswith("darwin"):
772 platform = lldbplatformutil.getPlatform()
777 if platform == "linux":
795 return False, "Don't know how to build with libc++ on %s" % platform
812 platform = lldbplatformutil.getPlatform()
814 platform = "android"
815 if platform == "linux":
817 return False, "Don't know how to build with libstdcxx on %s" % platform
834 platform = lldbplatformutil.getPlatform()
835 if platform == "netbsd":
851 elif platform == "freebsd" and configuration.arch == "aarch64":
875 print("objc tests will be skipped because of unsupported platform")
882 platform = lldbplatformutil.getPlatform()
887 if test_categories.is_supported_on_platform(cat, platform, compiler):
896 skip_msg = "Skipping %s tests, as they are not compatible with remote testing on this platform"
915 platform = lldbplatformutil.getPlatform()
916 if platform not in ["freebsd", "linux", "netbsd"]:
923 platform = lldbplatformutil.getPlatform()
926 if platform in ["windows"]:
928 print("pexpect tests will be skipped because of unsupported platform")
953 if sys.platform.startswith("darwin"):
972 # Use host platform by default.
980 print("Setting up remote platform '%s'" % (configuration.lldb_platform_name))
985 "error: unable to create the LLDB platform named '%s'."
990 # We must connect to a remote platform if a LLDB platform URL was
993 "Connecting to remote platform '%s' at '%s'..."
1004 "error: failed to connect to remote platform using URL '%s': %s"
1013 "Setting remote platform working directory to '%s'..."