You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
618 B
20 lines
618 B
def pre_flight(self):
|
|
import os
|
|
import lldb
|
|
import lldbtest
|
|
|
|
dname = os.path.join(os.environ["LLDB_TEST"])
|
|
if not os.path.isdir(dname):
|
|
os.mkdir(dname)
|
|
dest = os.path.join(dname, "lldb_log-%s-%s-%s.txt" % (self.getArchitecture(), self.getCompiler(), self.id()))
|
|
print "\nEnabling lldb logging for test case:", self
|
|
print "with log destination:", dest
|
|
self.runCmd("log enable -f %s gdb-remote packets process" % dest)
|
|
|
|
#def post_flight(test):
|
|
# __import__("lldb")
|
|
# __import__("lldbtest")
|
|
# print "\nRunning post-flight function:"
|
|
# print "for test case:", test
|
|
|