Revert "New cycles tests require buildbot to checkout tests of have test succeed if we test 0 files."

This reverts commit d390e24c49.

Forcing tests to success is really bad idea. It'll only lead to cases when
you see PASSED and will think everything is OK.

Long story short: never force tests to pass!
This commit is contained in:
Sergey Sharybin
2015-01-23 20:48:28 +05:00
parent d390e24c49
commit 433ecb88bd

View File

@@ -140,9 +140,6 @@ def main():
ROOT = args.testdir[0] ROOT = args.testdir[0]
IDIFF = args.idiff[0] IDIFF = args.idiff[0]
if no os.path.exists(ROOT):
sys.exit(0)
TEMP = tempfile.mkdtemp() TEMP = tempfile.mkdtemp()
TEMP_FILE_MASK = os.path.join(TEMP, "test") TEMP_FILE_MASK = os.path.join(TEMP, "test")
TEMP_FILE = TEMP_FILE_MASK + "0001.png" TEMP_FILE = TEMP_FILE_MASK + "0001.png"