Add files via upload
This commit is contained in:
parent
ffdd049589
commit
0bd86793ac
18 changed files with 3628 additions and 1 deletions
41
qmk_flash_tools/test/run_all_tests.sh
Normal file
41
qmk_flash_tools/test/run_all_tests.sh
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/env bash
|
||||
# =============================================================================
|
||||
# Quick Testing Script - Run all tests in sequence
|
||||
# =============================================================================
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
echo "╔═══════════════════════════════════════════════════════════╗"
|
||||
echo "║ QMK Flash Tools - Quick Test Suite ║"
|
||||
echo "╚═══════════════════════════════════════════════════════════╝"
|
||||
echo ""
|
||||
|
||||
# Test 1: Side Mapping (no hardware needed)
|
||||
echo "Running side mapping tests..."
|
||||
echo ""
|
||||
bash "$SCRIPT_DIR/test_side_mapping.sh"
|
||||
echo ""
|
||||
|
||||
# Test 2: QMK Helpers (partial, no hardware needed)
|
||||
echo "Running QMK helper tests..."
|
||||
echo ""
|
||||
bash "$SCRIPT_DIR/test_qmk_helpers.sh"
|
||||
echo ""
|
||||
|
||||
# Test 3: Device Detection (requires hardware)
|
||||
echo "Running device detection tests..."
|
||||
echo ""
|
||||
read -rp "Do you have a keyboard in bootloader mode? [y/n]: " has_device
|
||||
|
||||
if [[ "$has_device" == "y" ]]; then
|
||||
bash "$SCRIPT_DIR/test_device_detection.sh"
|
||||
else
|
||||
echo "⏭️ Skipping device detection test"
|
||||
echo " Run manually when you have hardware ready:"
|
||||
echo " ./test/test_device_detection.sh"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "╔═══════════════════════════════════════════════════════════╗"
|
||||
echo "║ ✅ All tests complete! ║"
|
||||
echo "╚═══════════════════════════════════════════════════════════╝"
|
||||
Loading…
Add table
Add a link
Reference in a new issue