Ejemplo n.º 1
0
    def startTest(self, test):
        if configuration.shouldSkipBecauseOfCategories(
                self.getCategoriesForTest(test)):
            self.hardMarkAsSkipped(test)
        if self.checkExclusion(configuration.skip_tests, test.id()):
            self.hardMarkAsSkipped(test)

        self.counter += 1
        test.test_number = self.counter
        if self.showAll:
            self.stream.write(self.fmt % self.counter)
        super(LLDBTestResult, self).startTest(test)
        if self.results_formatter:
            self.results_formatter.handle_event(
                EventBuilder.event_for_start(test))
Ejemplo n.º 2
0
 def startTest(self, test):
     if configuration.shouldSkipBecauseOfCategories(self.getCategoriesForTest(test)):
         self.hardMarkAsSkipped(test)
     configuration.setCrashInfoHook("%s at %s" % (str(test),inspect.getfile(test.__class__)))
     self.counter += 1
     #if self.counter == 4:
     #    import crashinfo
     #    crashinfo.testCrashReporterDescription(None)
     test.test_number = self.counter
     if self.showAll:
         self.stream.write(self.fmt % self.counter)
     super(LLDBTestResult, self).startTest(test)
     if self.results_formatter:
         self.results_formatter.handle_event(
             EventBuilder.event_for_start(test))
Ejemplo n.º 3
0
 def startTest(self, test):
     if configuration.shouldSkipBecauseOfCategories(self.getCategoriesForTest(test)):
         self.hardMarkAsSkipped(test)
     configuration.setCrashInfoHook("%s at %s" % (str(test),inspect.getfile(test.__class__)))
     self.counter += 1
     #if self.counter == 4:
     #    import crashinfo
     #    crashinfo.testCrashReporterDescription(None)
     test.test_number = self.counter
     if self.showAll:
         self.stream.write(self.fmt % self.counter)
     super(LLDBTestResult, self).startTest(test)
     if self.results_formatter:
         self.results_formatter.handle_event(
             EventBuilder.event_for_start(test))
Ejemplo n.º 4
0
    def startTest(self, test):
        if configuration.shouldSkipBecauseOfCategories(
                self.getCategoriesForTest(test)):
            self.hardMarkAsSkipped(test)
        if self.checkExclusion(
                configuration.skip_tests, test.id()):
            self.hardMarkAsSkipped(test)

        self.counter += 1
        test.test_number = self.counter
        if self.showAll:
            self.stream.write(self.fmt % self.counter)
        super(LLDBTestResult, self).startTest(test)
        if self.results_formatter:
            self.results_formatter.handle_event(
                EventBuilder.event_for_start(test))