diff --git a/library/Core.cpp b/library/Core.cpp index ff4ccc98e..24b06e586 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -317,7 +317,7 @@ static void listScripts(PluginManager *plug_mgr, std::map &pset, pset[key] = help; } } - else if (all && !files[i].empty() && files[i][0] != '.' && files[i] != "internal") + else if (all && !files[i].empty() && files[i][0] != '.' && files[i] != "internal" && files[i] != "test") { listScripts(plug_mgr, pset, path+files[i]+"/", all, prefix+files[i]+"/"); } diff --git a/travis/script-docs.py b/travis/script-docs.py index a102ae35b..71d7f37b2 100755 --- a/travis/script-docs.py +++ b/travis/script-docs.py @@ -81,7 +81,7 @@ def check_file(fname): def main(): """Check that all DFHack scripts include documentation""" err = 0 - exclude = set(['internal']) + exclude = set(['internal', 'test']) for root, dirs, files in os.walk(SCRIPT_PATH, topdown=True): dirs[:] = [d for d in dirs if d not in exclude] for f in files: