summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-07 17:34:23 +0100
committerskal <pascal.massimino@gmail.com>2026-02-07 17:34:23 +0100
commit9583dcc3d7b84e77a8a4d658c737ccba2a250373 (patch)
treead43ea109ee094eee2ec86396375245e5318f48e /CMakeLists.txt
parent652f3dbdb618513649dd672042a945de5e1cf319 (diff)
test: Add Gantt chart output test for seq_compiler
- Created test_gantt.seq: minimal sequence file for testing - Created test_gantt_output.sh: bash script that verifies Gantt output - Checks for: timeline header, BPM info, time axis, sequence bars - Added GanttOutputTest to CMake test suite All 29 tests pass (was 28).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53d0285..12f3bd5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -577,6 +577,15 @@ if(DEMO_BUILD_TESTS)
${GEN_DEMO_CC})
target_link_libraries(test_texture_manager PRIVATE 3d gpu audio procedural util ${DEMO_LIBS})
add_dependencies(test_texture_manager generate_demo_assets)
+
+ # Gantt chart output test (bash script)
+ add_test(
+ NAME GanttOutputTest
+ COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/scripts/test_gantt_output.sh
+ $<TARGET_FILE:seq_compiler>
+ ${CMAKE_CURRENT_SOURCE_DIR}/assets/test_gantt.seq
+ ${CMAKE_CURRENT_BINARY_DIR}/test_gantt_output.txt
+ )
endif()
#-- - Extra Tools -- -