Commit dc7bd3db by John Eskew

Remove cache dirs from commonlib testing.

parent ade766a5
...@@ -203,7 +203,8 @@ class Env(object): ...@@ -203,7 +203,8 @@ class Env(object):
# Directories used for common/lib/ tests # Directories used for common/lib/ tests
LIB_TEST_DIRS = [] LIB_TEST_DIRS = []
for item in (REPO_ROOT / "common/lib").listdir(): for item in (REPO_ROOT / "common/lib").listdir():
if (REPO_ROOT / 'common/lib' / item).isdir(): dir_name = (REPO_ROOT / 'common/lib' / item)
if dir_name.isdir() and not dir_name.endswith(('__pycache__', '.cache')):
LIB_TEST_DIRS.append(path("common/lib") / item.basename()) LIB_TEST_DIRS.append(path("common/lib") / item.basename())
LIB_TEST_DIRS.append(path("pavelib/paver_tests")) LIB_TEST_DIRS.append(path("pavelib/paver_tests"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment