activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r710099 - in /activemq/activemq-cpp/trunk/tools: ./ run-tests.sh start_activemq.sh stop_activemq.sh
Date Mon, 03 Nov 2008 16:39:39 GMT
Author: tabish
Date: Mon Nov  3 08:39:39 2008
New Revision: 710099

URL: http://svn.apache.org/viewvc?rev=710099&view=rev
Log:
Add a folder for tools with some initial scripts to run the integ tests in a long loop.

Added:
    activemq/activemq-cpp/trunk/tools/
    activemq/activemq-cpp/trunk/tools/run-tests.sh   (with props)
    activemq/activemq-cpp/trunk/tools/start_activemq.sh   (with props)
    activemq/activemq-cpp/trunk/tools/stop_activemq.sh   (with props)

Added: activemq/activemq-cpp/trunk/tools/run-tests.sh
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/tools/run-tests.sh?rev=710099&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/tools/run-tests.sh (added)
+++ activemq/activemq-cpp/trunk/tools/run-tests.sh Mon Nov  3 08:39:39 2008
@@ -0,0 +1,14 @@
+#!/bin/bash
+ulimit -s unlimited
+
+for ((i=0;i<100;i+=1)); do
+
+  ./start_activemq.sh
+  sleep 12
+  echo "Running Iteration =" $i
+  ../build/src/test-integration/activemq-test-integration
+  killall /opt/local/java/bin/java
+  #./stop_activemq.sh
+  sleep 4
+done
+

Propchange: activemq/activemq-cpp/trunk/tools/run-tests.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: activemq/activemq-cpp/trunk/tools/start_activemq.sh
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/tools/start_activemq.sh?rev=710099&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/tools/start_activemq.sh (added)
+++ activemq/activemq-cpp/trunk/tools/start_activemq.sh Mon Nov  3 08:39:39 2008
@@ -0,0 +1,6 @@
+# Launch Apache's ActiveMQ following their instructions
+
+cd /home/tabish/dev/apache-activemq-5.1.0
+nohup ./bin/activemq &
+
+

Propchange: activemq/activemq-cpp/trunk/tools/start_activemq.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: activemq/activemq-cpp/trunk/tools/stop_activemq.sh
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/tools/stop_activemq.sh?rev=710099&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/tools/stop_activemq.sh (added)
+++ activemq/activemq-cpp/trunk/tools/stop_activemq.sh Mon Nov  3 08:39:39 2008
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Stop java and tail (if any)
+
+/home/tabish/dev/apache-activemq-5.1.0/bin/activemq-admin stop --all
+rm -rf /home/tabish/dev/apache-activemq-5.1.0/data/*

Propchange: activemq/activemq-cpp/trunk/tools/stop_activemq.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message