diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-04 17:50:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-04 17:50:34 +0100 |
commit | 11464bfb183b56ec3aafae9c173e78a352929bd9 (patch) | |
tree | ef0d3848f6de77465a89744e8ab3ae4979b48ca2 | |
parent | 454df30ae58dad96b8e167d451ef1c4f6ad927f6 (diff) |
Skip testing example lua scripts which are not bundled
-rw-r--r-- | libs/ardour/test/lua_script_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/test/lua_script_test.cc b/libs/ardour/test/lua_script_test.cc index 8369519ce6..a404824d15 100644 --- a/libs/ardour/test/lua_script_test.cc +++ b/libs/ardour/test/lua_script_test.cc @@ -26,6 +26,10 @@ LuaScriptTest::session_script_test () std::string script = ""; + if (Glib::path_get_basename (spi->path).at(0) == '_') { + continue; + } + try { script = Glib::file_get_contents (spi->path); } catch (Glib::FileError e) { |