def runSingleTest(self, tests): result = GTestResult() tests.run(result) result.doReport() if result.testFailed > 0: sys.exit(1) else: sys.exit(0)
def runTests(tests): result = GTestResult() tests.run(result) result.doReport() if result.testFailed > 0: sys.exit(1) else: sys.exit(0)