Ejemplo n.º 1
0
    def setUp(self):
        self.show_msg("Starting")
        self.b = Builder(self.config, self.builddir, self.logtofile)

        if not self.keepbuilds:
            self.b.delete()

        if not self.b.is_finished():
            self.b.configure(make_extra_opts=["BR2_EXTERNAL={}".format(":".join(self.br2_external))])
Ejemplo n.º 2
0
    def setUp(self):
        self.show_msg("Starting")
        self.b = Builder(self.config, self.builddir, self.logtofile)

        if not self.keepbuilds:
            self.b.delete()

        if not self.b.is_finished():
            self.show_msg("Building")
            self.b.build()
            self.show_msg("Building done")

        self.emulator = Emulator(self.builddir, self.downloaddir,
                                 self.logtofile, self.timeout_multiplier)
Ejemplo n.º 3
0
    def setUp(self):
        self.show_msg("Starting")
        self.b = Builder(self.config, self.builddir, self.logtofile)

        if not self.keepbuilds:
            self.b.delete()

        if not self.b.is_finished():
            self.show_msg("Building")
            self.b.configure(["BR2_EXTERNAL={}".format(":".join(self.br2_external))])
            self.b.build()
            self.show_msg("Building done")

        self.emulator = Emulator(self.builddir, self.downloaddir,
                                 self.logtofile, self.timeout_multiplier)
Ejemplo n.º 4
0
    def setUp(self):
        self.testname = self.__class__.__name__
        self.builddir = os.path.join(self.__class__.outputdir, self.testname)
        self.runlog = self.builddir + "-run.log"
        self.emulator = None
        self.show_msg("Starting")
        self.b = Builder(self.__class__.config, self.builddir, self.logtofile)

        if not self.keepbuilds:
            self.b.delete()

        if not self.b.is_finished():
            self.show_msg("Building")
            self.b.build()
            self.show_msg("Building done")

        self.emulator = Emulator(self.builddir, self.downloaddir, self.logtofile)
Ejemplo n.º 5
0
    def setUp(self):
        self.show_msg("Starting")
        config = self.config
        if self.jlevel:
            config += "BR2_JLEVEL={}\n".format(self.jlevel)
        self.b = Builder(config, self.builddir, self.logtofile)

        if not self.keepbuilds:
            self.b.delete()

        if not self.b.is_finished():
            self.show_msg("Building")
            self.b.build()
            self.show_msg("Building done")

        self.emulator = Emulator(self.builddir, self.downloaddir,
                                 self.logtofile)
Ejemplo n.º 6
0
    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
        if self.jlevel:
            config += "BR2_JLEVEL={}\n".format(self.jlevel)
        self.b = Builder(config, self.builddir, self.logtofile)

        if not self.keepbuilds:
            self.b.delete()

        if not self.b.is_finished():
            self.show_msg("Building")
            self.b.build()
            self.show_msg("Building done")

        self.emulator = Emulator(self.builddir, self.downloaddir,
                                 self.logtofile)