Skip to content

Commit

Permalink
Align xspec-bat.cmd with xspec#96 (should fail)
Browse files Browse the repository at this point in the history
  • Loading branch information
AirQuick committed Mar 7, 2017
1 parent a9860ed commit c8f1a5e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/xspec-bat.cmd
Expand Up @@ -261,10 +261,10 @@ setlocal

if defined XMLCALABASH_CP (
call :run java -Xmx1024m -cp "%XMLCALABASH_CP%" com.xmlcalabash.drivers.Main -isource=xspec-72.xspec xspec-home="file:/%PARENT_DIR_ABS:\=/%/" -oresult=xspec/xspec-72-result.html ..\src\harnesses\saxon\saxon-xslt-harness.xproc
call :run java -cp "%SAXON_CP%" net.sf.saxon.Query -s:xspec\xspec-72-result.html -qs:"declare default element namespace 'http://www.w3.org/1999/xhtml'; concat(/html/head/meta[@http-equiv eq 'Content-Type']/@content = 'text/html; charset=UTF-8', '
')" !method=text
call :run java -cp "%SAXON_CP%" net.sf.saxon.Query -s:xspec\xspec-72-result.html -qs:"declare default element namespace 'http://www.w3.org/1999/xhtml'; concat(/html/head/meta[@http-equiv eq 'Content-Type']/@content = 'text/html; charset=UTF-7', '
')" !method=text
call :verify_line 1 x "true"
) else (
call :skip
call :skip "test for XProc skipped as XMLCalabash uses a higher version of Saxon"
)

call :teardown
Expand Down Expand Up @@ -391,8 +391,9 @@ rem
goto :EOF

:skip
echo ...SKIP
echo ...SKIP: %~1
set CASE_RESULT=2
(echo # %~1) >> "%RESULTS_FILE%"
call :appveyor UpdateTest "%CASE_NAME%" -Framework custom -Filename "%THIS_FILE_NX%" -Outcome Skipped -Duration 0
goto :EOF

Expand Down

0 comments on commit c8f1a5e

Please sign in to comment.