summaryrefslogtreecommitdiff
path: root/test/ports/azrtos_test_tx_ghs_cortex_a5.bat
blob: 00d5d3f3205461396360cd39761f54fdefd22d59 (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_a5.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_a5.valid.log /M /L /A
IF %ERRORLEVEL% NEQ 0 (
    ECHO Test results are invalid!
    EXIT /B 1
)

ECHO Test completed sucessfully!