Skip testing example lua scripts which are not bundled
This commit is contained in:
parent
454df30ae5
commit
11464bfb18
|
@ -26,6 +26,10 @@ LuaScriptTest::session_script_test ()
|
||||||
|
|
||||||
std::string script = "";
|
std::string script = "";
|
||||||
|
|
||||||
|
if (Glib::path_get_basename (spi->path).at(0) == '_') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
script = Glib::file_get_contents (spi->path);
|
script = Glib::file_get_contents (spi->path);
|
||||||
} catch (Glib::FileError e) {
|
} catch (Glib::FileError e) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user