forked from KolibriOS/kolibrios
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:
parent
cd441e7929
commit
0a2a7aa344
@ -114,14 +114,7 @@ def prepare_test_img():
|
|||||||
# Get test kernel
|
# Get test kernel
|
||||||
if not os.path.exists("kernel.mnt.pretest"):
|
if not os.path.exists("kernel.mnt.pretest"):
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
with open("lang.inc", "w") as lang_inc:
|
execute("tup kernel.mnt.pretest")
|
||||||
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)
|
|
||||||
else:
|
else:
|
||||||
builds_eng = sys.argv[1]
|
builds_eng = sys.argv[1]
|
||||||
kernel_mnt_pretest_subpath = "data/kernel/trunk/kernel.mnt.pretest"
|
kernel_mnt_pretest_subpath = "data/kernel/trunk/kernel.mnt.pretest"
|
||||||
|
Loading…
Reference in New Issue
Block a user