aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--appveyor.yml12
-rw-r--r--tests/testssl.bat5
2 files changed, 14 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 4e0b488..df1b448 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -43,5 +43,13 @@ build_script:
43 - cmake --build . --config %CONFIG% 43 - cmake --build . --config %CONFIG%
44 44
45test_script: 45test_script:
46 # TODO: Determine how to run ssltest on AppVeyor 46 - ctest -C %CONFIG% --timeout 150 --output-on-failure
47 - ctest -C %CONFIG% --timeout 150 --output-on-failure -E ssltest 47
48on_failure:
49 - 7z a Testing.zip Testing
50 - appveyor PushArtifact Testing.zip
51
52artifacts:
53 - path: build\Testing
54 name: Testing
55 type: zip
diff --git a/tests/testssl.bat b/tests/testssl.bat
index f354393..4c3ca1b 100644
--- a/tests/testssl.bat
+++ b/tests/testssl.bat
@@ -11,7 +11,10 @@ set extra=%6
11 11
12%openssl% version & if !errorlevel! neq 0 exit /b 1 12%openssl% version & if !errorlevel! neq 0 exit /b 1
13 13
14for /f "usebackq" %%s in (`%openssl% x509 -in %cert% -text -noout ^| find /c "DSA Public Key"`) do set lines=%%s 14set lines=0
15for /f "usebackq" %%s in (`%openssl% x509 -in %cert% -text -noout ^| find "DSA Public Key"`) do (
16 set /a lines=%lines%+1
17)
15if %lines% gtr 0 ( 18if %lines% gtr 0 (
16 set dsa_cert=YES 19 set dsa_cert=YES
17) else ( 20) else (