Commit a4b7506f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

readd dumb glob of parts/*/product, but keeping products:list with higher priority.

parent 2c41b1d3
...@@ -277,8 +277,12 @@ initialization = ...@@ -277,8 +277,12 @@ initialization =
[bt5_path, os.path.join(bt5_path, '*')] [bt5_path, os.path.join(bt5_path, '*')]
for bt5_path in (os.path.join(parts_directory, x, 'bt5') for bt5_path in (os.path.join(parts_directory, x, 'bt5')
for x in repository_id_list)), [])) for x in repository_id_list)), []))
sys.path[:0] = [os.path.join(parts_directory, x, 'tests') sys.path[:0] = sum((
for x in repository_id_list] glob.glob(os.path.join(parts_directory, x, 'tests'))
for x in repository_id_list), [])
sys.path[:0] = sum((
glob.glob(os.path.join(parts_directory, x, 'product', '*', 'tests'))
for x in repository_id_list), [])
sys.path[:0] = sum(( sys.path[:0] = sum((
glob.glob(os.path.join(x, '*', 'tests')) glob.glob(os.path.join(x, '*', 'tests'))
for x in reversed('''${products:list}'''.split())), []) for x in reversed('''${products:list}'''.split())), [])
......
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