From 6ff2ed0386e0ffeaead7e139babf73708385972d Mon Sep 17 00:00:00 2001 From: Egor00f Date: Thu, 29 May 2025 13:46:26 +0500 Subject: [PATCH] fix build && add auto run for tests --- Makefile | 2 +- tests/run_tests.sh | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tests/run_tests.sh diff --git a/Makefile b/Makefile index 247497d..cd14c8d 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ KOLIBRIOS_REPO = $(abspath ../kolibrios) SDK_DIR = $(KOLIBRIOS_REPO)/contrib/sdk NewLib_DIR = $(SDK_DIR)/sources/newlib -SYSCFLAGS = -fno-ident -fomit-frame-pointer -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -I$(NewLib_DIR)/libc/include -I$(TOOLCHAIN_PATH)/include/lua$(LUA_V) +SYSCFLAGS = -fno-ident -fomit-frame-pointer -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -I$(NewLib_DIR)/libc/include -I$(TOOLCHAIN_PATH)/include -I$(TOOLCHAIN_PATH)/include/lua$(LUA_V) SYSLIBS = -L $(SDK_DIR)/lib -lgcc -lc.dll -ldll MYCFLAGS = MYLDFLAGS = diff --git a/tests/run_tests.sh b/tests/run_tests.sh new file mode 100644 index 0000000..21cd15d --- /dev/null +++ b/tests/run_tests.sh @@ -0,0 +1,11 @@ +#SHS + +# Graphic +../lua helloWorld.lua + +../lua SystemColors.lua + +# IPC tests +../lua ipc_get.lua +../lua ipc_send.lua +