Files
LCUI/lib/ctest/tests/xmake.lua
Liu 27fd503d68 feat(ctest): add suite filter, list and CTEST_MAIN macro
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.
2026-05-23 18:53:08 +08:00

10 lines
271 B
Lua

target("ctest-tests")
set_default(false)
set_kind("binary")
set_group("tests")
set_rundir(".")
add_files("test_str.c", "test_grep.c", "main.c")
add_deps("ctest", "yutil")
add_rules("tests.runnable")
add_tests("default", {group = "tests"})