From 531ab8015c35e5c819b3aac794c26f6d284a28b1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 5 Sep 2019 20:17:57 +0200 Subject: Exclude Lua Convovler from unit-test (fails because of missing IR) --- libs/ardour/test/lua_script_test.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/ardour') 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 (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(), 0); CPPUNIT_ASSERT_MESSAGE ((*i)->name, rv == 0); processor->enable (true); -- cgit v1.2.3