summaryrefslogtreecommitdiff
path: root/cpp/tests/run-unit-tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix for the most disruptive items in QPID-243.Andrew Stitcher2007-04-021-37/+0
| | | | | | | | | | | | * All #include lines now use '""' rather than '<>' where appropriate. * #include lines within the qpid project use relative includes so that the same path will work in /usr/include when installed as part of the client libraries. * All the source code has now been rearranged to be under src in a directory analogous to the namespace of the classes in it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524769 13f79535-47bb-0310-9956-ffa450edef68
* Fixed and improved running selected unit tests. See comment in run-unit-testsAlan Conway2007-03-301-9/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524166 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/.vg-supp (fun): Remove wildcarded suppressions generatedAlan Conway2007-03-291-3/+9
| | | | | | | | | | | before the dlclose_noop fix, replaced with fully qualified ones. * cpp/tests/InProcessBroker.h: fix memory leak in InputToOutputHandler. * cpp/tests/run-unit-tests (fail): pass test paths to DllPlugInTester git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523846 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/run-unit-tests,setup: use valgrind --log-file rather thanAlan Conway2007-03-281-1/+3
| | | | | | | | | | | redirecting stderr. Redirecting also swallows DllPlugInTester output. * cpp/lib/common/sys/Acceptor.h: getPort() to return uint16_t, not int16t. Note AcceptorTest is not inclued in Makefile.am. I fixed it to compile but it hangs, need to determine if it's a test or an Acceptor bug. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523473 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/setup,run-unit-tests:Alan Conway2007-03-281-2/+11
| | | | | | | | | | | | - make run-unit-tests work directly as ./run-unit-tests as well as via make. - run-unit-tests takes list of tests to run as args or in env UNIT_TESTS. * cpp/tests/.vg-supp: - Fixed bogus symbols produced by --gen-suppressions. See http://article.gmane.org/gmane.comp.debugging.valgrind/5939 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523444 13f79535-47bb-0310-9956-ffa450edef68
* Fix valgrind on unit tests: missing symbols for dynamically unloaded libs.Alan Conway2007-03-271-2/+2
| | | | | | | Interposed library supresses dlclose so symbols are reported. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523055 13f79535-47bb-0310-9956-ffa450edef68
* Renamed cpp-0-9 to cppAlan Conway2007-03-211-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520706 13f79535-47bb-0310-9956-ffa450edef68
* * cpp: svn removed, will rename cpp-0-9Alan Conway2007-03-211-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520705 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Jim Meyering (jim@meyering.net) submitted on dev list.Gordon Sim2007-01-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instrument all tests so that they are run via valgrind: check for both errors and leaks. * configure.ac: Add new configure options: --enable-valgrind and --disable-valgrind. For now, the latter is the default. * README-dev: Document (and recommend) --enable-valgrind. * tests/.vg-supp: Add many more, from Gordon Sim for FC5. * configure.ac: Check for valgrind. * tests/Makefile.am (TESTS_ENVIRONMENT): Export VALGRIND. * tests/setup: New file. * tests/run-unit-tests: Use new "setup" file. Invoke DllPlugInTester via $vg (aka valgrind). Refer to the source directory using $pwd, since we're now running from a temporary subdirectory. * tests/run-python-tests: Remove traps. That is now done by "setup". [VERBOSE]: Print qpidd --version. Invoke qpidd via $vg and its absolute name. Add a kludgey "sleep 3", because it can take a while for libtool to start valgrind to start qpidd, in the background. Ideally, the python script would simply sleep-0.3-and-retry for a couple seconds, upon failure of the initial connection attempt. * tests/.vg-supp: New file, exempting known leaks on Debian/unstable. Some of these leaks appear to be legitimate. * tests/Makefile.am (EXTRA_DIST): Add .vg-supp and setup. * qpid-autotools-install (usage): Add a missing backslash. Fix "make distcheck" failure. * docs/api/Makefile.am (EXTRA_DIST): Add user.doxygen git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499049 13f79535-47bb-0310-9956-ffa450edef68
* Patch posted to dev listed:Gordon Sim2006-12-111-0/+3
2006-12-08 Jim Meyering <meyering@redhat.com> Move each test into a script of its own, as Automake requires. * tests/Makefile.am (TESTS): List test script names here, rather than listing rules as dependents of "check". (EXTRA_DIST): Add $(TESTS). (run-unit-tests, run-python-tests): Remove rules, putting their contents in the following new scripts. * tests/run-unit-tests: New one-line script. * tests/run-python-tests: New script, containing the script from Makefile.am. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485592 13f79535-47bb-0310-9956-ffa450edef68