mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Introduce ctest_suite_t, ctest_parse_args, ctest_run_suites and CTEST_MAIN macro to standardize test binary entry points. Support --grep / --grep= / --list / --interactive / --help. Add lib/ctest/tests/ for self-tests covering str converters and grep filter logic.
13 lines
256 B
Lua
13 lines
256 B
Lua
add_rules("mode.debug", "mode.release")
|
|
add_includedirs("include")
|
|
|
|
target("ctest")
|
|
set_kind("static")
|
|
add_files("src/*.c")
|
|
add_deps("yutil")
|
|
add_headerfiles("include/ctest.h")
|
|
|
|
if os.isdir("tests") then
|
|
includes("tests/xmake.lua")
|
|
end
|