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)


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)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to