Mercurial > hg > CbC > CbC_llvm
view lldb/examples/test/.lldb-loggings @ 213:25ca0248ac32
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Jul 2021 17:05:31 +0900 |
parents | 2e18cbf3894f |
children |
line wrap: on
line source
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