From 70ef44fcc127325c7c02f2b64c35890cbe303ebc Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Sun, 17 Dec 2017 02:30:54 +0000 Subject: [PATCH] Add tests to autobuild: mtrrtest and test_malloc. git-svn-id: svn://kolibrios.org@7133 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/Tupfile.lua | 3 +++ kernel/trunk/core/mtrrtest.asm | 4 ++++ kernel/trunk/core/test_malloc.asm | 1 + 3 files changed, 8 insertions(+) create mode 100644 kernel/trunk/core/Tupfile.lua diff --git a/kernel/trunk/core/Tupfile.lua b/kernel/trunk/core/Tupfile.lua new file mode 100644 index 0000000000..7e1761c88d --- /dev/null +++ b/kernel/trunk/core/Tupfile.lua @@ -0,0 +1,3 @@ +if tup.getconfig("NO_FASM") ~= "" then return end +tup.rule("mtrrtest.asm", "fasm %f %o", "mtrrtest.exe") +tup.rule("test_malloc.asm", "fasm %f %o", "test_malloc") diff --git a/kernel/trunk/core/mtrrtest.asm b/kernel/trunk/core/mtrrtest.asm index 44de7d33e6..d1c8884f39 100644 --- a/kernel/trunk/core/mtrrtest.asm +++ b/kernel/trunk/core/mtrrtest.asm @@ -5,6 +5,10 @@ format PE console macro $Revision [args] { } +macro ignore_empty_revision_keyword { + macro $Revi#sion$ \{\} +} +ignore_empty_revision_keyword include '../proc32.inc' include '../struct.inc' entry start diff --git a/kernel/trunk/core/test_malloc.asm b/kernel/trunk/core/test_malloc.asm index 6c9f09b5a3..ac42df8c79 100644 --- a/kernel/trunk/core/test_malloc.asm +++ b/kernel/trunk/core/test_malloc.asm @@ -225,6 +225,7 @@ error_with_code: jmp $-1 ; just in case ; Include main heap code +include '../macros.inc' include '../proc32.inc' include '../struct.inc' include '../const.inc'