1@ECHO OFF 2 3ECHO Testing %CD%... 4 5DEL test.log > NUL 6 7%AZRTOS_GHS_MULTI_MULTI% -connectfile sample_threadx.con -connect="Simulator" -p %AZRTOS_TEST_DIR%\azrtos_test_tx_ghs_cortex_r5.rc sample_threadx 8IF %ERRORLEVEL% NEQ 0 ( 9 ECHO ERROR: the test failed to run 10 EXIT /B 1 11) 12 13COMP test.log %AZRTOS_TEST_DIR%\azrtos_test_tx_ghs_cortex_r5.valid.log /M /L /A 14IF %ERRORLEVEL% NEQ 0 ( 15 ECHO Test results are invalid! 16 EXIT /B 1 17) 18 19ECHO Test completed sucessfully! 20