Files
Liu 75d26f05d0 test: move doc-viewer layout tests into the doc-viewer project
These layout tests need the generated global.css.h and the doc-viewer home-grid component, so they do not belong in the core lcui-tests binary. Move them to examples/doc-viewer/tests, keep their fixture with the tests, and generate the doc-viewer sources before running xmake test so a fresh checkout has global.css.h.
2026-11-19 01:19:59 +08:00

12 lines
410 B
Lua
Executable File

target("doc-viewer-tests")
set_default(false)
set_kind("binary")
set_group("tests")
set_rundir("fixtures")
add_files("*.c", "../app/components/home-grid.c")
add_includedirs("../app", "../app/components")
add_includedirs("../../../lib/ctest/include", "../../../tests/helpers")
add_deps("lcui", "ctest")
add_rules("tests.runnable")
add_tests("default", {group = "tests"})