Exclude Lua Convovler from unit-test (fails because of missing IR)
This commit is contained in:
parent
7731f768a6
commit
531ab8015c
@ -74,6 +74,16 @@ LuaScriptTest::dsp_script_test ()
|
|||||||
boost::shared_ptr<Processor> processor (new PluginInsert (*_session, p));
|
boost::shared_ptr<Processor> processor (new PluginInsert (*_session, p));
|
||||||
processor->enable (true);
|
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);
|
int rv = r->add_processor (processor, boost::shared_ptr<Processor>(), 0);
|
||||||
CPPUNIT_ASSERT_MESSAGE ((*i)->name, rv == 0);
|
CPPUNIT_ASSERT_MESSAGE ((*i)->name, rv == 0);
|
||||||
processor->enable (true);
|
processor->enable (true);
|
||||||
|
Loading…
Reference in New Issue
Block a user