mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-09 23:59:53 -05:00
Tests: Extend RunCMake.CTestSubmit test to cover 'drop' failures
Replace the TODO comment with calls to run_ctest_submit_FailDrop. For now leave curl errors out of expected stderr. They can be ported over from CTestTestFailedSubmit-* tests later.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
(-1|255)
|
||||
@@ -0,0 +1,4 @@
|
||||
Missing arguments for submit via cp:
|
||||
.*
|
||||
Problems when submitting via CP
|
||||
Error in read script: .*/Tests/RunCMake/CTestSubmit/FailDrop-cp/test.cmake
|
||||
@@ -0,0 +1 @@
|
||||
Submit files \(using cp\)
|
||||
@@ -0,0 +1 @@
|
||||
(-1|255)
|
||||
@@ -0,0 +1,3 @@
|
||||
Error message was: .*
|
||||
Problems when submitting via FTP
|
||||
Error in read script: .*/Tests/RunCMake/CTestSubmit/FailDrop-ftp/test.cmake
|
||||
@@ -0,0 +1,3 @@
|
||||
Submit files \(using ftp\)
|
||||
Using FTP submit method
|
||||
Drop site: ftp://
|
||||
@@ -0,0 +1 @@
|
||||
(-1|255)
|
||||
@@ -0,0 +1,3 @@
|
||||
Error message was: .*
|
||||
Problems when submitting via HTTP
|
||||
Error in read script: .*/Tests/RunCMake/CTestSubmit/FailDrop-http/test.cmake
|
||||
@@ -0,0 +1,3 @@
|
||||
Submit files \(using http\)
|
||||
Using HTTP submit method
|
||||
Drop site:http://
|
||||
@@ -0,0 +1 @@
|
||||
(-1|255)
|
||||
@@ -0,0 +1,3 @@
|
||||
Error message was: .*
|
||||
Problems when submitting via HTTP
|
||||
Error in read script: .*/Tests/RunCMake/CTestSubmit/FailDrop-https/test.cmake
|
||||
@@ -0,0 +1,3 @@
|
||||
Submit files \(using https\)
|
||||
Using HTTP submit method
|
||||
Drop site:https://
|
||||
@@ -0,0 +1 @@
|
||||
(-1|255)
|
||||
@@ -0,0 +1,2 @@
|
||||
Problems when submitting via SCP
|
||||
Error in read script: .*/Tests/RunCMake/CTestSubmit/FailDrop-scp/test.cmake
|
||||
@@ -0,0 +1 @@
|
||||
Submit files \(using scp\)
|
||||
@@ -0,0 +1 @@
|
||||
(-1|255)
|
||||
@@ -0,0 +1,2 @@
|
||||
(Problems when submitting via XML-RPC|Submission method "xmlrpc" not compiled into CTest!)
|
||||
Error in read script: .*/Tests/RunCMake/CTestSubmit/FailDrop-xmlrpc/test.cmake
|
||||
@@ -0,0 +1 @@
|
||||
Submit files \(using xmlrpc\)
|
||||
@@ -40,4 +40,9 @@ function(run_ctest_submit_FailDrop CASE_DROP_METHOD)
|
||||
run_ctest(FailDrop-${CASE_DROP_METHOD})
|
||||
endfunction()
|
||||
|
||||
# TODO: call run_ctest_submit_FailDrop() for each submission protocol
|
||||
run_ctest_submit_FailDrop(cp)
|
||||
run_ctest_submit_FailDrop(ftp)
|
||||
run_ctest_submit_FailDrop(http)
|
||||
run_ctest_submit_FailDrop(https)
|
||||
run_ctest_submit_FailDrop(scp)
|
||||
run_ctest_submit_FailDrop(xmlrpc)
|
||||
|
||||
Reference in New Issue
Block a user