From 0a2a7aa3446813869bf74a1a8d89b07902370c15 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Sat, 17 Jun 2023 20:07:12 +0000 Subject: [PATCH] Tests: Fix testing kernel build The test system used a custom command to build the testing kernel. Make it use the tup system. git-svn-id: svn://kolibrios.org@9918 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/runtests.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/kernel/trunk/runtests.py b/kernel/trunk/runtests.py index 5f798b35a7..7429fd301f 100755 --- a/kernel/trunk/runtests.py +++ b/kernel/trunk/runtests.py @@ -114,14 +114,7 @@ def prepare_test_img(): # Get test kernel if not os.path.exists("kernel.mnt.pretest"): if len(sys.argv) == 1: - with open("lang.inc", "w") as lang_inc: - lang_inc.write("lang fix en\n") - execute("fasm bootbios.asm bootbios.bin.pretest -dpretest_build=1") - command = "fasm " - command += "-dpretest_build=1 -ddebug_com_base=0xe9 " - command += "-m 65536 " - command += "kernel.asm kernel.mnt.pretest" - execute(command) + execute("tup kernel.mnt.pretest") else: builds_eng = sys.argv[1] kernel_mnt_pretest_subpath = "data/kernel/trunk/kernel.mnt.pretest"