forked from OSchip/llvm-project
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:
parent
49f9fb8d26
commit
faca93e407
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue