diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index e0da7cb..df5a110 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1317,7 +1317,18 @@ class Base(unittest.TestCase): # Need to do something different for non-Linux/Android targets cpuinfo_path = self.getBuildArtifact("cpuinfo") if configuration.lldb_platform_name: - self.runCmd('platform get-file "/proc/cpuinfo" ' + cpuinfo_path) + self.runCmd( + 'platform get-file "/proc/cpuinfo" ' + cpuinfo_path, check=False + ) + if not self.res.Succeeded(): + if self.TraceOn(): + print( + 'Failed to get /proc/cpuinfo from remote: "{}"'.format( + self.res.GetOutput().strip() + ) + ) + print("All cpuinfo feature checks will fail.") + return "" else: cpuinfo_path = "/proc/cpuinfo" |