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

llvm-svn: 254949
This commit is contained in:
Kamil Rytarowski 2015-12-07 21:26:56 +00:00
parent 49f9fb8d26
commit faca93e407
1 changed files with 3 additions and 0 deletions

View File

@ -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)