comparison tests/run-tests.py @ 3215:53e843840349

Whitespace/Tab cleanup
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 01 Oct 2006 19:26:33 +0200
parents 3091b1153e2c
children 642e5faf6bf0
comparison
equal deleted inserted replaced
3214:a5603ad915c5 3215:53e843840349
102 os.symlink(sys.executable, my_python) 102 os.symlink(sys.executable, my_python)
103 except AttributeError: 103 except AttributeError:
104 # windows fallback 104 # windows fallback
105 shutil.copyfile(sys.executable, my_python) 105 shutil.copyfile(sys.executable, my_python)
106 shutil.copymode(sys.executable, my_python) 106 shutil.copymode(sys.executable, my_python)
107 107
108 def install_hg(): 108 def install_hg():
109 vlog("# Performing temporary installation of HG") 109 vlog("# Performing temporary installation of HG")
110 installerrs = os.path.join("tests", "install.err") 110 installerrs = os.path.join("tests", "install.err")
111 111
112 os.chdir("..") # Get back to hg root 112 os.chdir("..") # Get back to hg root
356 356
357 if len(args) == 0: 357 if len(args) == 0:
358 args = os.listdir(".") 358 args = os.listdir(".")
359 for test in args: 359 for test in args:
360 if (test.startswith("test-") and '~' not in test and 360 if (test.startswith("test-") and '~' not in test and
361 ('.' not in test or test.endswith('.py') or 361 ('.' not in test or test.endswith('.py') or
362 test.endswith('.bat'))): 362 test.endswith('.bat'))):
363 ret = run_one(test) 363 ret = run_one(test)
364 if ret is None: 364 if ret is None:
365 skipped += 1 365 skipped += 1
366 elif not ret: 366 elif not ret: