You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2007/03/21 02:26:40 UTC
svn commit: r520690 - in /incubator/qpid/trunk/qpid: cpp-0-9/
cpp-0-9/build-aux/ cpp-0-9/docs/ cpp-0-9/etc/ cpp-0-9/gen/
cpp-0-9/gentools/ cpp-0-9/gentools/src/ cpp-0-9/gentools/templ.cpp/
cpp-0-9/gentools/templ.java/ cpp-0-9/gentools/templ.net/ cpp-0-...
Author: aconway
Date: Tue Mar 20 18:26:37 2007
New Revision: 520690
URL: http://svn.apache.org/viewvc?view=rev&rev=520690
Log:
* cpp-0-9: svn copy of 0-9 branch cpp, will rename to cpp on next update.
* cpp-0-9/gentools: independent copy of gentools for cpp.
Temporary measure till /java and /gentools are at 0-9
* python/tests_0-9: tests from 0-9 branch.
* python/qpid/testlib.py: Use tests_0-9 with 0-9 spec (default is still 0-8)
Added:
incubator/qpid/trunk/qpid/cpp-0-9/
- copied from r520667, incubator/qpid/branches/qpid.0-9/cpp/
incubator/qpid/trunk/qpid/cpp-0-9/DESIGN
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/DESIGN
incubator/qpid/trunk/qpid/cpp-0-9/LICENSE
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/LICENSE
incubator/qpid/trunk/qpid/cpp-0-9/Makefile.am
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/Makefile.am
incubator/qpid/trunk/qpid/cpp-0-9/NOTICE
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/NOTICE
incubator/qpid/trunk/qpid/cpp-0-9/README
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/README
incubator/qpid/trunk/qpid/cpp-0-9/bootstrap
- copied, changed from r520684, incubator/qpid/branches/qpid.0-9/cpp/bootstrap
incubator/qpid/trunk/qpid/cpp-0-9/build-aux/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/build-aux/
incubator/qpid/trunk/qpid/cpp-0-9/configure.ac
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/configure.ac
incubator/qpid/trunk/qpid/cpp-0-9/docs/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/docs/
incubator/qpid/trunk/qpid/cpp-0-9/etc/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/etc/
incubator/qpid/trunk/qpid/cpp-0-9/gen/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/gen/
incubator/qpid/trunk/qpid/cpp-0-9/gentools/
- copied from r520667, incubator/qpid/branches/qpid.0-9/gentools/
incubator/qpid/trunk/qpid/cpp-0-9/gentools/README
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/gentools/README
incubator/qpid/trunk/qpid/cpp-0-9/gentools/build
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/gentools/build
incubator/qpid/trunk/qpid/cpp-0-9/gentools/build.xml
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/gentools/build.xml
incubator/qpid/trunk/qpid/cpp-0-9/gentools/src/
- copied from r520684, incubator/qpid/branches/qpid.0-9/gentools/src/
incubator/qpid/trunk/qpid/cpp-0-9/gentools/templ.cpp/
- copied from r520684, incubator/qpid/branches/qpid.0-9/gentools/templ.cpp/
incubator/qpid/trunk/qpid/cpp-0-9/gentools/templ.java/
- copied from r520684, incubator/qpid/branches/qpid.0-9/gentools/templ.java/
incubator/qpid/trunk/qpid/cpp-0-9/gentools/templ.net/
- copied from r520684, incubator/qpid/branches/qpid.0-9/gentools/templ.net/
incubator/qpid/trunk/qpid/cpp-0-9/gentools/xml-src/
- copied from r520684, incubator/qpid/branches/qpid.0-9/gentools/xml-src/
incubator/qpid/trunk/qpid/cpp-0-9/lib/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/lib/
incubator/qpid/trunk/qpid/cpp-0-9/m4/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/m4/
incubator/qpid/trunk/qpid/cpp-0-9/make-dist
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/make-dist
incubator/qpid/trunk/qpid/cpp-0-9/qpid-autotools-install
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/qpid-autotools-install
incubator/qpid/trunk/qpid/cpp-0-9/qpidc.spec.in
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/qpidc.spec.in
incubator/qpid/trunk/qpid/cpp-0-9/rpm/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/rpm/
incubator/qpid/trunk/qpid/cpp-0-9/src/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/src/
incubator/qpid/trunk/qpid/cpp-0-9/tests/
- copied from r520684, incubator/qpid/branches/qpid.0-9/cpp/tests/
incubator/qpid/trunk/qpid/cpp-0-9/versions
- copied unchanged from r520684, incubator/qpid/branches/qpid.0-9/cpp/versions
incubator/qpid/trunk/qpid/python/tests_0-9/
- copied from r520667, incubator/qpid/branches/qpid.0-9/python/tests/
incubator/qpid/trunk/qpid/python/tests_0-9/__init__.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/__init__.py
incubator/qpid/trunk/qpid/python/tests_0-9/basic.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/basic.py
incubator/qpid/trunk/qpid/python/tests_0-9/broker.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/broker.py
incubator/qpid/trunk/qpid/python/tests_0-9/example.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/example.py
incubator/qpid/trunk/qpid/python/tests_0-9/exchange.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/exchange.py
incubator/qpid/trunk/qpid/python/tests_0-9/message.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/message.py
incubator/qpid/trunk/qpid/python/tests_0-9/queue.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/queue.py
incubator/qpid/trunk/qpid/python/tests_0-9/testlib.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/testlib.py
incubator/qpid/trunk/qpid/python/tests_0-9/tx.py
- copied unchanged from r520686, incubator/qpid/branches/qpid.0-9/python/tests/tx.py
Modified:
incubator/qpid/trunk/qpid/cpp-0-9/gen/Makefile.am
incubator/qpid/trunk/qpid/cpp-0-9/tests/python_tests
incubator/qpid/trunk/qpid/python/cpp_failing_0-9.txt
incubator/qpid/trunk/qpid/python/qpid/testlib.py
Copied: incubator/qpid/trunk/qpid/cpp-0-9/bootstrap (from r520684, incubator/qpid/branches/qpid.0-9/cpp/bootstrap)
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp-0-9/bootstrap?view=diff&rev=520690&p1=incubator/qpid/branches/qpid.0-9/cpp/bootstrap&r1=520684&p2=incubator/qpid/trunk/qpid/cpp-0-9/bootstrap&r2=520690
==============================================================================
--- incubator/qpid/branches/qpid.0-9/cpp/bootstrap (original)
+++ incubator/qpid/trunk/qpid/cpp-0-9/bootstrap Tue Mar 20 18:26:37 2007
@@ -12,7 +12,7 @@
# If we're building in the qpid tree, we can generate
# some Makefile snippets:
-if test -d ../gentools && test -d ../specs; then
+if test -d ../specs; then
# Transform gen/Makefile.am, removing automake-constructs and the
# contents of the sole automake-else clause (the warning), then
# use the result to run the rules that create gen-src.mk, a file
Modified: incubator/qpid/trunk/qpid/cpp-0-9/gen/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp-0-9/gen/Makefile.am?view=diff&rev=520690&r1=520684&r2=520690
==============================================================================
--- incubator/qpid/trunk/qpid/cpp-0-9/gen/Makefile.am (original)
+++ incubator/qpid/trunk/qpid/cpp-0-9/gen/Makefile.am Tue Mar 20 18:26:37 2007
@@ -14,7 +14,7 @@
#
if CAN_GENERATE_CODE
-gentools_dir = $(srcdir)/../../gentools
+gentools_dir = $(srcdir)/../gentools
spec_dir = $(srcdir)/../../specs
# FIXME aconway 2007-01-04: Enabling Basic class until
Modified: incubator/qpid/trunk/qpid/cpp-0-9/tests/python_tests
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp-0-9/tests/python_tests?view=diff&rev=520690&r1=520684&r2=520690
==============================================================================
--- incubator/qpid/trunk/qpid/cpp-0-9/tests/python_tests (original)
+++ incubator/qpid/trunk/qpid/cpp-0-9/tests/python_tests Tue Mar 20 18:26:37 2007
@@ -1,7 +1,7 @@
#!/bin/sh
# Run the python tests.
if test -d ../../python ; then
- cd ../../python && ./run-tests -v -I cpp_failing.txt
+ cd ../../python && ./run-tests -v -s "0-9" -I cpp_failing_0-9.txt
else
echo Warning: python tests not found.
fi
Modified: incubator/qpid/trunk/qpid/python/cpp_failing_0-9.txt
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/cpp_failing_0-9.txt?view=diff&rev=520690&r1=520689&r2=520690
==============================================================================
--- incubator/qpid/trunk/qpid/python/cpp_failing_0-9.txt (original)
+++ incubator/qpid/trunk/qpid/python/cpp_failing_0-9.txt Tue Mar 20 18:26:37 2007
@@ -1,4 +1,4 @@
tests.message.MessageTests.test_checkpoint
-tests.message.MessageTests.test_reference_large
tests.message.MessageTests.test_reject
tests.basic.BasicTests.test_get
+
Modified: incubator/qpid/trunk/qpid/python/qpid/testlib.py
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/qpid/testlib.py?view=diff&rev=520690&r1=520689&r2=520690
==============================================================================
--- incubator/qpid/trunk/qpid/python/qpid/testlib.py (original)
+++ incubator/qpid/trunk/qpid/python/qpid/testlib.py Tue Mar 20 18:26:37 2007
@@ -125,7 +125,7 @@
if self.use08spec():
self.tests=findmodules("tests_0-8")
else:
- self.tests=findmodules("tests")
+ self.tests=findmodules("tests_0-9")
def testSuite(self):
class IgnoringTestSuite(unittest.TestSuite):
@@ -142,16 +142,14 @@
self._parseargs(args)
runner = unittest.TextTestRunner(descriptions=False,
verbosity=self.verbose)
- try:
- result = runner.run(self.testSuite())
- except:
- print "Unhandled error in test:", sys.exc_info()
+ result = runner.run(self.testSuite())
if (self.ignore):
print "======================================="
print "NOTE: the following tests were ignored:"
for t in self.ignore: print t
print "======================================="
+
return result.wasSuccessful()
def connect(self, host=None, port=None, spec=None, user=None, password=None, tune_params=None):