From dc02d50b17d7209db348505d462cff20f14fb0c4 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Thu, 10 May 2012 16:51:59 +0530 Subject: [PATCH] rename the nose test executor --- .../marvin/marvin/NoseTestExecutionEngine.py | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 tools/marvin/marvin/NoseTestExecutionEngine.py diff --git a/tools/marvin/marvin/NoseTestExecutionEngine.py b/tools/marvin/marvin/NoseTestExecutionEngine.py deleted file mode 100644 index c64e0c1a5f7..00000000000 --- a/tools/marvin/marvin/NoseTestExecutionEngine.py +++ /dev/null @@ -1,34 +0,0 @@ -try: - import unittest2 as unittest -except ImportError: - import unittest - -from functools import partial -import nose -import nose.config -import nose.core -import os -import sys -import logging - -module_logger = "testclient.nose" - -def testCaseLogger(message, logger=None): - if logger is not None: - logger.debug(message) - -class TestCaseExecuteEngine(object): - def __init__(self, testclient, testCaseFolder, testcaseLogFile=None, testResultLogFile=None): - self.testclient = testclient - self.debuglog = testcaseLogFile - self.testCaseFolder = testCaseFolder - self.testResultLogFile = testResultLogFile - self.cfg = nose.config.Config() - self.cfg.configureWhere(self.testCaseFolder) - self.cfg.configureLogging() - - def run(self): - self.args = ["--debug-log="+self.debuglog] - suite = nose.core.TestProgram(argv = self.args, config = self.cfg) - result = suite.runTests() - print result