add tests.
Some checks failed
Build Dusk / build-linux (push) Successful in 2m5s
Build Dusk / build-psp (push) Failing after 1m44s

This commit is contained in:
2026-01-05 13:25:39 -06:00
parent 726233e55f
commit 8ee46fd204
32 changed files with 133 additions and 88 deletions

10
test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,10 @@
# Copyright (c) 2025 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Tests
add_executable(test_main test_main.c)
target_include_directories(test_main PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(test_main PUBLIC ${DUSK_LIBRARY_TARGET_NAME})
add_test( NAME tests1 COMMAND test_main)