summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/tests/run_interop_tests
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-09-21 16:24:38 +0000
committerTed Ross <tross@apache.org>2009-09-21 16:24:38 +0000
commit4c9e6b30e9410cb32367be87ca9bbf941df750dc (patch)
treeb64a637ec4e4edf0c5240d0cfcc9b006f42b486c /cpp/bindings/qmf/tests/run_interop_tests
parenta5283e144f9107e3e735379ddd68d8d29e9fdb53 (diff)
downloadqpid-python-4c9e6b30e9410cb32367be87ca9bbf941df750dc.tar.gz
Added Ruby test infrastructure and Console tests in Ruby
Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/tests/run_interop_tests')
-rwxr-xr-xcpp/bindings/qmf/tests/run_interop_tests10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/bindings/qmf/tests/run_interop_tests b/cpp/bindings/qmf/tests/run_interop_tests
index 01d7221ac6..b5545d736d 100755
--- a/cpp/bindings/qmf/tests/run_interop_tests
+++ b/cpp/bindings/qmf/tests/run_interop_tests
@@ -88,11 +88,19 @@ if test -d ${PYTHON_DIR} ; then
echo " Ruby agent started at pid $AGENT_PID"
${PYTHON_DIR}/qpid-python-test -m python_console -b localhost:$BROKER_PORT $@
RETCODE=$?
- stop_ruby_agent
if test x$RETCODE != x0; then
echo "FAIL qmf interop tests (Ruby Agent)";
TESTS_FAILED=1
fi
+
+ echo " Ruby Agent (external storage) vs. Ruby Console"
+ ruby -I${MY_DIR} -I${MY_DIR}/../ruby -I${RUBY_LIB_DIR} ${MY_DIR}/ruby_console_test.rb localhost $BROKER_PORT $@
+ RETCODE=$?
+ stop_ruby_agent
+ if test x$RETCODE != x0; then
+ echo "FAIL qmf interop tests (Ruby Console/Ruby Agent)";
+ TESTS_FAILED=1
+ fi
fi
# Also against the Pure-Python console: