diff options
Diffstat (limited to 'cpp/README')
| -rw-r--r-- | cpp/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/README b/cpp/README index 427a0c15c8..7d772dbf19 100644 --- a/cpp/README +++ b/cpp/README @@ -24,6 +24,17 @@ Unit tests are built as .so files containing CppUnit plugins. DllPlugInTester is provided as part of cppunit. You can use it to run any subset of the unit tests. See Makefile for examples. +NOTE: If foobar.so is a test plugin in the current directory then +surprisingly this will fail with "can't load plugin": + DllPluginTester foobar.so + +Instead you need to say: + DllPluginTester ./foobar.so + +Reason: DllPluginTester uses dlopen() which searches for shlibs +in the standard places unless the filename contains a "/". In +that case it just tries to open the filename. + === System tests === The Python test suite ../python/run_tests is the main set of broker |
