keepbuilds = False
jlevel = None
+ def __init__(self, names):
+ super(BRTest, self).__init__(names)
+ self.testname = self.__class__.__name__
+ self.builddir = os.path.join(self.__class__.outputdir, self.testname)
+ self.emulator = None
+
def show_msg(self, msg):
print "{} {:40s} {}".format(datetime.datetime.now().strftime("%H:%M:%S"),
self.testname, msg)
def setUp(self):
- self.testname = self.__class__.__name__
- self.builddir = os.path.join(self.__class__.outputdir, self.testname)
- self.emulator = None
self.show_msg("Starting")
- config = self.__class__.config
+ config = self.config
if self.jlevel:
config += "BR2_JLEVEL={}\n".format(self.jlevel)
self.b = Builder(config, self.builddir, self.logtofile)