tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajbor...@apache.org
Subject svn commit: r450999 - in /incubator/tuscany/cpp/sca/test/ws.service.interop: Makefile.am runtest.sh
Date Thu, 28 Sep 2006 20:02:44 GMT
Author: ajborley
Date: Thu Sep 28 13:02:43 2006
New Revision: 450999

URL: http://svn.apache.org/viewvc?view=rev&rev=450999
Log:
Added ability to run 'make check' via a runtests script that starts the server, runs the test
client and finally kills the server

Added:
    incubator/tuscany/cpp/sca/test/ws.service.interop/runtest.sh   (with props)
Modified:
    incubator/tuscany/cpp/sca/test/ws.service.interop/Makefile.am

Modified: incubator/tuscany/cpp/sca/test/ws.service.interop/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/Makefile.am?view=diff&rev=450999&r1=450998&r2=450999
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/Makefile.am (original)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/Makefile.am Thu Sep 28 13:02:43 2006
@@ -3,3 +3,6 @@
 EXTRA_DIST = ws.service.interop.solution
 deploy_DATA = ws.service.interop/ws.service.interop.solution.composite
 
+TESTS = runtest.sh
+TESTS_ENVIRONMENT = $(SHELL) -x
+

Added: incubator/tuscany/cpp/sca/test/ws.service.interop/runtest.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/test/ws.service.interop/runtest.sh?view=auto&rev=450999
==============================================================================
--- incubator/tuscany/cpp/sca/test/ws.service.interop/runtest.sh (added)
+++ incubator/tuscany/cpp/sca/test/ws.service.interop/runtest.sh Thu Sep 28 13:02:43 2006
@@ -0,0 +1,13 @@
+cd $TUSCANY_SCACPP/test/ws.service.interop/deploy/bin
+
+# Start the axis http server. Output goes to a log file
+./runwsserver.sh > runwsserver.log &
+
+# The wget command makes sure the server has fully started up
+wget -O - http://localhost:9090/axis2/services
+
+# Run the tests against the server
+./runclient.sh
+
+# Finally, kill the axis http server by finding the PID
+kill -9 `ps | grep axis2_http_serv | cut -c1-6`

Propchange: incubator/tuscany/cpp/sca/test/ws.service.interop/runtest.sh
------------------------------------------------------------------------------
    svn:executable = *



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message