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

ECHO Test completed sucessfully!