Files
ETPlot/tests/cleanup.sh
T
2025-09-08 10:52:58 +02:00

32 lines
821 B
Bash
Executable File

#!/bin/bash
set -e
echo "🧹 Cleaning up test directory..."
echo
# Remove Python cache files
echo "Removing Python cache files..."
find /work/kschmidt/web -name "__pycache__" -type d -exec rm -rf {} + 2>/dev/null || true
find /work/kschmidt/web -name "*.pyc" -delete 2>/dev/null || true
# Remove temporary test files
echo "Removing temporary test files..."
rm -f /work/kschmidt/web/tests/*.sif
rm -f /work/kschmidt/web/tests/test-results.xml
rm -f /work/kschmidt/web/*.sif
rm -f /work/kschmidt/web/.coverage
rm -rf /work/kschmidt/web/coverage_html_report/
rm -f /work/kschmidt/web/coverage.xml
# List remaining test files
echo
echo "📁 Remaining test files:"
ls -la /work/kschmidt/web/tests/
echo
echo "📊 Test directory size:"
du -sh /work/kschmidt/web/tests/
echo
echo "✅ Test directory cleanup complete!"