[KERNEL][UMKA] Make it compile and run on Windows

git-svn-id: svn://kolibrios.org@9342 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2021-11-27 23:28:38 +00:00
parent 3717b92b6d
commit e92d2fb87b
9 changed files with 179 additions and 108 deletions

View File

@@ -89,7 +89,8 @@ def get_file_directory(path):
def run_qemu(root_dir, test_dir, debug_log):
# Make local copy of IMG, so we will be able to run the test in parallel
os.remove(f"{test_dir}/kolibri_test.img") # If previous test run interrupted the file may be busy
if os.path.exists(f"{test_dir}/kolibri_test.img"): # If previous test run interrupted the file may be busy
os.remove(f"{test_dir}/kolibri_test.img")
shutil.copyfile(f"{root_dir}/kolibri_test.img", f"{test_dir}/kolibri_test.img")
qemu_command = f"qemu-system-i386"
flags = ""