Demonstrate how to use the config file and the pre-flight functionality to route...
[lldb.git] / lldb / examples / test / .lldb-loggings
1 def pre_flight(self):
2     import os
3     import lldb
4     import lldbtest
5
6     dest = os.path.join("/tmp", "lldb_log-%s-%s-%s.txt" % (self.getArchitecture(), self.getCompiler(), self.id()))
7     print "\nEnabling lldb logging for test case:", self
8     print "with log destination:", dest
9     self.runCmd("log enable -f %s gdb-remote packets process" % dest)
10
11 #def post_flight(test):
12 #    __import__("lldb")
13 #    __import__("lldbtest")
14 #    print "\nRunning post-flight function:"
15 #    print "for test case:", test
16