diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-05 20:17:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-05 20:17:57 +0200 |
commit | 531ab8015c35e5c819b3aac794c26f6d284a28b1 (patch) | |
tree | 68644384adc4801684da2cf17c60407c9c25eaf3 /libs/ardour/test | |
parent | 7731f768a63c521f8654f30de7c263c7d97e2f79 (diff) |
Exclude Lua Convovler from unit-test (fails because of missing IR)
Diffstat (limited to 'libs/ardour/test')
-rw-r--r-- | libs/ardour/test/lua_script_test.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/test/lua_script_test.cc b/libs/ardour/test/lua_script_test.cc index bb658a207a..081e3f9899 100644 --- a/libs/ardour/test/lua_script_test.cc +++ b/libs/ardour/test/lua_script_test.cc @@ -74,6 +74,16 @@ LuaScriptTest::dsp_script_test () boost::shared_ptr<Processor> processor (new PluginInsert (*_session, p)); processor->enable (true); + if (Glib::path_get_basename ((*i)->path).find ("__") == 0) { + std::cout << " .. skip processing test\n"; + /* Example scripts (filename with leading underscore), that + * use a double-underscore at the beginning of the file-name + * are excluded from unit-tests (e.g. "Lua Convolver" + * requires IR files). + */ + continue; + } + int rv = r->add_processor (processor, boost::shared_ptr<Processor>(), 0); CPPUNIT_ASSERT_MESSAGE ((*i)->name, rv == 0); processor->enable (true); |