Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9321 → Rev 9322

/kernel/trunk/runtests.py
10,6 → 10,7
import timeit
import urllib.request
import subprocess
from threading import Thread
 
sys.path.append('test')
import common
130,18 → 131,7
tests.append(test_folder_path)
return tests
 
if __name__ == "__main__":
root_dir = os.getcwd()
 
# Check available tools
tools = (("qemu-system-i386", "qemu-system-x86"),
("fasm", "fasm"))
check_tools(tools)
prepare_test_img()
tests = collect_tests()
# Execute each test
def run_tests_serially(tests, root_dir):
test_number = 1
for test in tests:
test_dir = f"{root_dir}/{test}"
163,3 → 153,14
test_number += 1
if __name__ == "__main__":
root_dir = os.getcwd()
 
# Check available tools
tools = (("qemu-system-i386", "qemu-system-x86"),
("fasm", "fasm"))
check_tools(tools)
prepare_test_img()
tests = collect_tests()
run_tests_serially(tests, root_dir)