axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/tests/auto_build runAllTests.sh
Date Fri, 03 Sep 2004 08:24:55 GMT
damitha     2004/09/03 01:24:55

  Modified:    c/tests/auto_build runAllTests.sh
  Log:
  Put each test in a loop
  
  Revision  Changes    Path
  1.3       +6 -76     ws-axis/c/tests/auto_build/runAllTests.sh
  
  Index: runAllTests.sh
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/runAllTests.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- runAllTests.sh	2 Sep 2004 06:44:15 -0000	1.2
  +++ runAllTests.sh	3 Sep 2004 08:24:55 -0000	1.3
  @@ -33,83 +33,13 @@
   #rm -rf $OUTPUT_DIR
   
   passed=0
  -num_tests=21
  -
  -#test1 
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest1.wsdl c++
  +num_tests=0
  +for X in testcases/wsdls/*.wsdl
  +do
  +runTestCase.sh "$X" c++
   [[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test2
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest2.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test3 
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest3.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test4 
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest4.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test5 
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest5.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test6 
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest7.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test7 
  -runTestCase.sh testcases/wsdls/RpcHttpHeaderTest8.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test8 
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest1.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test9 
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest2.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test10 
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest3.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test11
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest4.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test12
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest6.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test13 
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest8.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test14 
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest9.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test15 
  -runTestCase.sh testcases/wsdls/RpcSoapHeaderTest10.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test16 
  -runTestCase.sh testcases/wsdls/MathOps.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test17 
  -runTestCase.sh testcases/wsdls/ExceptionTest.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test18 
  -runTestCase.sh testcases/wsdls/FaultMapping.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test19 
  -runTestCase.sh testcases/wsdls/InteropTestRound1.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test20
  -runTestCase.sh testcases/wsdls/ExtensibilityQuery.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#test21
  -runTestCase.sh testcases/wsdls/Calculator.wsdl c++
  -[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -
  -# inserted Adrian Dick by
  -#runTestCase.sh testcases/wsdls/SimpleTypeArray.wsdl c++
  -#[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#runTestCase.sh testcases/wsdls/SimpleTypeInnerUnbounded.wsdl c++
  -#[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -#runTestCase.sh testcases/wsdls/SimpleTypeInnerUnboundedInOutput.wsdl c++
  -#[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -# runTestCase.sh testcases/wsdls/SOAPHeaderStockService.wsdl c++
  -#[[ $? -eq 0 ]] && passed=$(($passed + 1))
  -# runTestCase.sh testcases/wsdls/TradeServices.wsdl c++
  -#[[ $? -eq 0 ]] && passed=$(($passed + 1))
  +num_tests=${num_tests}+1;
  +done
   
   echo -n "${passed}/${num_tests} tests passed."
   [[ $passed -eq $num_tests ]] && echo " PASSED" || echo " FAILED"
  
  
  

Mime
View raw message