nc_program_manager/field-test/run_all.bat
Trentin Davide 3fd3047584 docs(test): add Mitsubishi field-test kit (scripts + criticità checklist)
Windows batch harness + extensive IT README for on-site Mitsubishi CNC
testing. Covers connect/invia/scarica/validator/offset/param scenarios.
Documents C1-C8 criticità found in code review:
- path mapping mismatch (download /PRG/<int> vs upload relative <path>/<name>)
- Standardize leading \n may trip validator first-line gate
- hardcoded /PRG/ ProgramDirectory, no CLI override
- Int16 -path limit, ASCII-only FTP, plaintext credentials

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 09:03:10 +02:00

32 lines
1 KiB
Batchfile

@echo off
REM ============================================================
REM RUN ALL - esegue T01..T07 in sequenza.
REM Prima: compila (build.bat) e modifica config.bat con IP/cred.
REM ATTENZIONE: T01/T07 SCRIVONO sul CNC. Concordare col cliente
REM un numero programma di test non in uso (config.bat PROGNUM).
REM NON usare -debug negli script (bloccherebbe su ReadLine).
REM ============================================================
setlocal
pushd "%~dp0"
call config.bat
echo.
echo ############ RICOGNIZIONE: verifica /PRG/ via FTP PRIMA dei test ############
echo Esempio: ftp %IP% (poi: dir /PRG/ )
echo Annotare i nomi reali dei programmi (numerici? con O? lettere?).
echo.
pause
call t06_parametri_mancanti.bat
call t04_errori_connessione.bat
call t02_scarica.bat
call t01_invia_valido.bat
call t03_validatore.bat
call t05_offset_non_supportati.bat
call t07_roundtrip.bat
echo.
echo ############ FINE. Log in: %RESULTS% ############
echo Compilare CHECKLIST_CRITICITA.md con gli esiti.
popd
endlocal