Boost logo

Boost :

From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2007-06-14 13:38:34

Jeremy Pack said: (by the date of Thu, 14 Jun 2007 09:40:57 -0700)

> We have a number of other benchmarks to write. The basic test Mariano did
> (which is in the subversion repository) opens a shared library, instantiates
> a plugin, calls a very basic virtual function, deletes the plugin, and then
> closes the shared library.

try unloading the library, replacing the *.so (*.extesnion) file with
another file - the very same class. Only difference is that the basic
function returns a different value, or prints different message on
the screen. Then loading that library again and calling the function,
without restarting the test program.

I tried it just once with my plugin library and it didn't work. The
cached plugin file was used instead. But I didn't spend any time to
fix that. Only checked how it behaves. It may be important that the
plugin file has the same filename, but different contents.

I belive that above test should be a part of your testing suite - if
you plan to support unloading plugins and reloading them later on

Janek Kozicki                                                         |

Boost list run by bdawes at, gregod at, cpdaniel at, john at