forked from node-opcua/node-opcua
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunCTT.bat
More file actions
16 lines (11 loc) · 679 Bytes
/
runCTT.bat
File metadata and controls
16 lines (11 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SET UACOMPLIANCETEST="C:\Program Files (x86)\OPC Foundation\UA 1.03\Compliance Test Tool\uacompliancetest.exe"
SET CTTFILE=".\CTT\Node-OPCUA-Server\Node-OPCUA-Server.ctt.xml"
SET SELECTION=".\CTT\Node-OPCUA-Server\nano-profile.selection.xml"
SET RESULT="tmp\nano-ctt-result.xml"
%UACOMPLIANCETEST% --close --hidden --settings %CTTFILE% --selection %SELECTION% --result %RESULT%
IF %ERRORLEVEL% EQU 1 ECHO Warning detected!
IF %ERRORLEVEL% EQU 0 ECHO OK, no problems found!
IF %ERRORLEVEL% EQU -1 ECHO FAIL, check the logs!
c:\tools\msxsl %RESULT% CTT\CTT2XUNIT.xsl -o tmp\a.xml
REM JUNIT VIEWSE (npm install junit-viewer -g)
REM junit-viewer --results=tmp\a.xml --port=8080