Mercurial > molko
comparison tests/CMakeLists.txt @ 136:30b68089ae70
core: rework actions and a bit of drawables, closes #2492
In the effort of having as less as possible memory allocation in libcore, the
usage of actions and drawable no longer copy the original source parameter to
let user pass a heap allocated variable or a static storage one.
Update predefined drawable and actions to match these new needs.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 13 Oct 2020 09:38:44 +0200 |
parents | 7b84764741b6 |
children | fea0cc899931 |
comparison
equal
deleted
inserted
replaced
135:eadfed7674ac | 136:30b68089ae70 |
---|---|
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 # | 17 # |
18 | 18 |
19 project(tests) | 19 project(tests) |
20 | 20 |
21 molko_define_test(TARGET action SOURCES test-action.c) | |
22 molko_define_test(TARGET action-script SOURCES test-action-script.c) | |
21 molko_define_test(TARGET color SOURCES test-color.c) | 23 molko_define_test(TARGET color SOURCES test-color.c) |
22 molko_define_test(TARGET error SOURCES test-error.c) | 24 molko_define_test(TARGET error SOURCES test-error.c) |
23 molko_define_test(TARGET inventory SOURCES test-inventory.c) | 25 molko_define_test(TARGET inventory SOURCES test-inventory.c) |
24 molko_define_test( | 26 molko_define_test( |
25 TARGET map | 27 TARGET map |
32 ${tests_SOURCE_DIR}/assets/maps/error-width.map | 34 ${tests_SOURCE_DIR}/assets/maps/error-width.map |
33 ${tests_SOURCE_DIR}/assets/maps/sample-map.map | 35 ${tests_SOURCE_DIR}/assets/maps/sample-map.map |
34 ) | 36 ) |
35 molko_define_test(TARGET rbuf SOURCES test-rbuf.c) | 37 molko_define_test(TARGET rbuf SOURCES test-rbuf.c) |
36 molko_define_test(TARGET save SOURCES test-save.c) | 38 molko_define_test(TARGET save SOURCES test-save.c) |
37 molko_define_test(TARGET script SOURCES test-script.c) |