[Lldb-commits] [PATCH] D15263: Add NetBSD in platform specific logging of the specified category in RegisterCommandsTestCase()

Kamil Rytarowski via lldb-commits lldb-commits at lists.llvm.org
Sat Dec 5 21:41:49 PST 2015


krytarowski created this revision.
krytarowski added reviewers: clayborg, emaste, tfiala.
krytarowski added subscribers: joerg, lldb-commits.
krytarowski set the repository for this revision to rL LLVM.

NetBSD soon will reuse this featur while running tests.

Repository:
  rL LLVM

http://reviews.llvm.org/D15263

Files:
  packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py

Index: packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py
+++ packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py
@@ -133,6 +133,9 @@
         if sys.platform.startswith("linux"):
             self.platform = "linux"
 
+        if sys.platform.startswith("netbsd"):
+            self.platform = "netbsd"
+
         if self.platform != "":
             self.log_file = os.path.join(os.getcwd(), 'TestRegisters.log')
             self.runCmd("log enable " + self.platform + " " + str(category) + " registers -v -f " + self.log_file, RUN_SUCCEEDED)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15263.42002.patch
Type: text/x-patch
Size: 734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151206/4b6dad6f/attachment.bin>


More information about the lldb-commits mailing list