def compileSuiteCoffee(path, suite_path): contrib.cleandir(suite_path, '.*.js') tests = contrib.enum_files_in_folders( suite_path, lambda file_: not file_.endswith(settings.COFFEE_FILE_EXT) ) for test in tests: fullpath = os.path.join(suite_path, test) path = coffeescript.compile2js(None, None, fullpath) log.info(path)
def start(data): start = TestInfo(data) cwd = getTestResultDir(start.path, start.context) contrib.cleandir(cwd, '*.begin') contrib.cleandir(cwd, '*.progress') contrib.cleandir(cwd, '*.done') fileName = getBeginFile(start.path, start.context, start.date) dump(fileName, [])