From 28a12a7a7f367e8f2a309f7ebb297bab94d610c7 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 7 Feb 2026 17:35:53 +0100 Subject: test: Add HTML Gantt chart output test for seq_compiler - Created test_gantt_html.sh: bash script that verifies HTML/SVG output - Checks for: HTML structure, title, h1 heading, SVG elements, rectangles, text labels - Added GanttHtmlOutputTest to CMake test suite - Reuses test_gantt.seq from previous test All 30 tests pass (was 29). --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 12f3bd5..f2ab936 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -586,6 +586,15 @@ if(DEMO_BUILD_TESTS) ${CMAKE_CURRENT_SOURCE_DIR}/assets/test_gantt.seq ${CMAKE_CURRENT_BINARY_DIR}/test_gantt_output.txt ) + + # HTML Gantt chart output test + add_test( + NAME GanttHtmlOutputTest + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/scripts/test_gantt_html.sh + $ + ${CMAKE_CURRENT_SOURCE_DIR}/assets/test_gantt.seq + ${CMAKE_CURRENT_BINARY_DIR}/test_gantt_output.html + ) endif() #-- - Extra Tools -- - -- cgit v1.2.3