summaryrefslogtreecommitdiff
path: root/test/ports/azrtos_test_tx_ghs_cortex_a7.bat
blob: efa835f71a686ca2f7165236ce8d818cc0bc4c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ECHO OFF

ECHO Testing %CD%...

DEL test.log > NUL

%AZRTOS_GHS_MULTI_MULTI% -connectfile sample_threadx.con -connect="Simulator" -p %AZRTOS_TEST_DIR%\azrtos_test_tx_ghs_cortex_a7.rc sample_threadx
IF %ERRORLEVEL% NEQ 0 (
    ECHO ERROR: the test failed to run
    EXIT /B 1
)

COMP test.log %AZRTOS_TEST_DIR%\azrtos_test_tx_ghs_cortex_a7.valid.log /M /L /A
IF %ERRORLEVEL% NEQ 0 (
    ECHO Test results are invalid!
    EXIT /B 1
)

ECHO Test completed sucessfully!