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
This commit is contained in:
Magomed Kostoev (mkostoevr) 2023-06-17 20:07:12 +00:00
parent cd441e7929
commit 0a2a7aa344

View File

@ -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"