forked from cory/tildefriends
		
	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:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user