mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
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.
12 lines
410 B
Lua
Executable File
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"})
|