↓
↓
Torture tester
I have written a program to help with testing of LADSPA and LV2 plugins.
You can download version 5 from here. The source code is also on
github; clone it with git clone
git@github.com:cth103/plugin-torture.git
.
The tester will load your plugin and run it with various inputs. These are:
FLT_MIN
.
-msse
-mfpmath=sse
passed to GCC, so that the tester can detect denormal computations.
plugin-torture --ladspa -p some-plugin.so
for
LADSPA plugins or plugin-torture --lv2 -p some-lv2.ttl
for LV2. If the plugin is LV2, make sure it is on LV2_PATH
.
-d -a
to plugin-torture
. This will
make the test abort if a denormal number is processed by the plugin.
You can run plugin-torture
within GDB to find out where
it happened.
-e
to plugin-torture
to run the
evil tests. Such evil inputs are fairly unlikely to occur in real
life, but then Murphy is always waiting.
plugin-torture
under valgrind and fix any complaints that
it has.