summaryrefslogtreecommitdiff
path: root/libs/ardour/test/playlist_layering_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-27 00:48:31 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-27 00:48:31 +0000
commitdfc307801307f21d1db5db2395bce5cb1bc95c84 (patch)
tree26acacad7b5c61882907df1d91cc18d6bce3a75c /libs/ardour/test/playlist_layering_test.cc
parentfd48e72fc212a0f7a2cb23a7c39ccc0f76cb7439 (diff)
Add configure option to raise a FP exception when a denormal
is detected. git-svn-id: svn://localhost/ardour2/branches/3.0@11086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/playlist_layering_test.cc')
-rw-r--r--libs/ardour/test/playlist_layering_test.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/test/playlist_layering_test.cc b/libs/ardour/test/playlist_layering_test.cc
index 1371b0cfae..05c44f5625 100644
--- a/libs/ardour/test/playlist_layering_test.cc
+++ b/libs/ardour/test/playlist_layering_test.cc
@@ -68,11 +68,17 @@ PlaylistLayeringTest::setUp ()
test_receiver.listen_to (fatal);
test_receiver.listen_to (warning);
- AudioEngine* engine = new AudioEngine ("test", "");
+ AudioEngine* engine = 0;
+ try {
+ engine = new AudioEngine ("test", "");
+ } catch (...) {
+ CPPUNIT_ASSERT (false);
+ }
+
MIDI::Manager::create (engine->jack ());
CPPUNIT_ASSERT (engine->start () == 0);
- _session = new Session (*engine, test_session_path, "playlist_layering_test");
+ _session = new Session (*engine, test_session_path, "playlist_layering_test", 0, "", false);
engine->set_session (_session);
_playlist = PlaylistFactory::create (DataType::AUDIO, *_session, "test");