mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +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.
10 lines
271 B
Lua
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"})
|