diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-06 11:58:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-06 11:58:15 +0000 |
commit | 070e72419093b7771ebaa83cc3c9f48a7a9e782f (patch) | |
tree | ff3f9e982189b19b138babe53b671e2b82cc5f3d /libs/ardour/test/testrunner.cc | |
parent | 46e448252f74ce35f37a1a41bb3ebe0f0312cd5d (diff) |
Patch from Tim Mayberry:
Remove redundant init and cleanup code from common test code
Calling PBD::EnumWriter::destroy means ARDOUR::init and setup_libpbd_enums need to be called again
to register types. If the call to EnumWriter::destroy is removed then ARDOUR::init and setup_libpbd_enums
no longer need to be called. EnumWriter::destroy should probably be added to ARDOUR::cleanup(or better yet PBD::cleanup)
and then called at the end of main. __attribute__ ((destructor)) could be used but that is not portable between
git-svn-id: svn://localhost/ardour2/branches/3.0@12578 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/testrunner.cc')
0 files changed, 0 insertions, 0 deletions