[Lldb-commits] [lldb] r254949 - Add NetBSD in platform specific logging of the specified category in RegisterCommandsTestCase()
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 7 13:26:56 PST 2015
Author: kamil
Date: Mon Dec 7 15:26:56 2015
New Revision: 254949
URL: http://llvm.org/viewvc/llvm-project?rev=254949&view=rev
Log:
Add NetBSD in platform specific logging of the specified category in RegisterCommandsTestCase()
Summary: NetBSD soon will reuse this feature while running tests.
Reviewers: emaste, tfiala, clayborg
Subscribers: lldb-commits, joerg
Differential Revision: http://reviews.llvm.org/D15263
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py?rev=254949&r1=254948&r2=254949&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py Mon Dec 7 15:26:56 2015
@@ -133,6 +133,9 @@ class RegisterCommandsTestCase(TestBase)
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)
More information about the lldb-commits
mailing list