diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-14 02:18:33 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-14 02:18:33 +0100 |
| commit | c007d7fa6ddb1936108aeca156b2a4bda425ca84 (patch) | |
| tree | 77aca2edabee26a07caebb294ccc3a967f03a610 /scripts/test_gantt_output.sh | |
| parent | d7f75a4f5b4e67e5fb1bac4efdd740ac7099e884 (diff) | |
Remove non-functional Gantt test scripts
Tests failed due to missing assets/test_gantt.seq. Gantt output
functionality still works via seq_compiler tool.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/test_gantt_output.sh')
| -rwxr-xr-x | scripts/test_gantt_output.sh | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/scripts/test_gantt_output.sh b/scripts/test_gantt_output.sh deleted file mode 100755 index 3cfb9c3..0000000 --- a/scripts/test_gantt_output.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -# Test script for seq_compiler Gantt chart output - -set -e # Exit on error - -# Arguments -SEQ_COMPILER=$1 -INPUT_SEQ=$2 -OUTPUT_GANTT=$3 - -if [ -z "$SEQ_COMPILER" ] || [ -z "$INPUT_SEQ" ] || [ -z "$OUTPUT_GANTT" ]; then - echo "Usage: $0 <seq_compiler> <input.seq> <output_gantt.txt>" - exit 1 -fi - -# Clean up any existing output -rm -f "$OUTPUT_GANTT" - -# Run seq_compiler with Gantt output -"$SEQ_COMPILER" "$INPUT_SEQ" "--gantt=$OUTPUT_GANTT" > /dev/null 2>&1 - -# Check output file exists -if [ ! -f "$OUTPUT_GANTT" ]; then - echo "ERROR: Gantt output file not created" - exit 1 -fi - -# Verify key content exists -ERRORS=0 - -# Check for timeline header -if ! grep -q "Demo Timeline Gantt Chart" "$OUTPUT_GANTT"; then - echo "ERROR: Missing 'Demo Timeline Gantt Chart' header" - ERRORS=$((ERRORS + 1)) -fi - -# Check for BPM info -if ! grep -q "BPM:" "$OUTPUT_GANTT"; then - echo "ERROR: Missing 'BPM:' information" - ERRORS=$((ERRORS + 1)) -fi - -# Check for time axis -if ! grep -q "Time (s):" "$OUTPUT_GANTT"; then - echo "ERROR: Missing 'Time (s):' axis" - ERRORS=$((ERRORS + 1)) -fi - -# Check for sequence bars (should have '█' characters) -if ! grep -q "█" "$OUTPUT_GANTT"; then - echo "ERROR: Missing sequence visualization bars" - ERRORS=$((ERRORS + 1)) -fi - -# Check file is not empty -FILE_SIZE=$(wc -c < "$OUTPUT_GANTT") -if [ "$FILE_SIZE" -lt 100 ]; then - echo "ERROR: Gantt output is too small ($FILE_SIZE bytes)" - ERRORS=$((ERRORS + 1)) -fi - -if [ $ERRORS -eq 0 ]; then - echo "✓ Gantt chart output test passed" - exit 0 -else - echo "✗ Gantt chart output test failed ($ERRORS errors)" - echo "--- Output file contents ---" - cat "$OUTPUT_GANTT" - exit 1 -fi |
