summaryrefslogtreecommitdiff
path: root/test/ports/azrtos_test_tx_ac6_cortex_a7.bat
blob: 0fa7f92334faf70f19d6f4ed65489b2b6ccef52d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off

DEL test.log > NUL

ECHO INFO: Starting test...

%AZRTOS_ARM_DS_DIR%\bin\armdbg.exe --cdb-entry "Arm FVP::VE_Cortex_A7x1::Bare Metal Debug::Bare Metal Debug::Cortex-A7" --image sample_threadx/Debug/sample_threadx.axf --script %AZRTOS_TEST_DIR%\azrtos_test_tx_ac6_cortex_a7.ds
IF %ERRORLEVEL% NEQ 0 (
    ECHO ERROR: test execution failed.
    EXIT /B 1
)

COMP /A /L /M test.log %AZRTOS_TEST_DIR%\azrtos_test_tx_ac6_cortex_a7.log.expected
IF %ERRORLEVEL% NEQ 0 (
    ECHO ERROR: unexpected test results. 
    EXIT /B 1
)

ECHO INFO: Test completed without errors.