Begin the hairy process of making this thing deal safely with string encodings. This will be broken for some time.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3356 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-12-21 20:19:23 +00:00
parent 885fbb0ac1
commit ba298b2e7c
8 changed files with 837 additions and 60 deletions

View File

@ -42,15 +42,16 @@ def indent(text):
passCount = 0
failCount = 0
for test in selectedTests:
for test in sorted(selectedTests):
if os.path.isdir(tmp):
shutil.rmtree(tmp)
if not os.path.isdir(tmp):
os.makedirs(tmp)
process = subprocess.Popen(['bash', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=tmp, env=env)
interrupted = False
stdout, stderr = process.communicate()
if process.returncode == 0:
if interrupted or process.returncode == 0:
if stdout.strip() == "SKIP":
print 'SKIPPED', test
else: