Patch from Tim Mayberry:
authorCarl Hetherington <carl@carlh.net>
Wed, 6 Jun 2012 11:58:15 +0000 (11:58 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 6 Jun 2012 11:58:15 +0000 (11:58 +0000)
commit070e72419093b7771ebaa83cc3c9f48a7a9e782f
treeff3f9e982189b19b138babe53b671e2b82cc5f3d
parent46e448252f74ce35f37a1a41bb3ebe0f0312cd5d
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
libs/ardour/test/test_needing_session.cc