13
0

Exclude Lua Convovler from unit-test (fails because of missing IR)

This commit is contained in:
Robin Gareus 2019-09-05 20:17:57 +02:00
parent 7731f768a6
commit 531ab8015c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 10 additions and 0 deletions

View File

@ -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);