Commit 2c41b1d3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

the list of test directories should be calculated by products:list instead of dumb glob.

parent dadc5a6f
...@@ -280,8 +280,8 @@ initialization = ...@@ -280,8 +280,8 @@ initialization =
sys.path[:0] = [os.path.join(parts_directory, x, 'tests') sys.path[:0] = [os.path.join(parts_directory, x, 'tests')
for x in repository_id_list] for x in repository_id_list]
sys.path[:0] = sum(( sys.path[:0] = sum((
glob.glob(os.path.join(parts_directory, x, 'product', '*', 'tests')) glob.glob(os.path.join(x, '*', 'tests'))
for x in repository_id_list), []) for x in reversed('''${products:list}'''.split())), [])
[test_suite_runner] [test_suite_runner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not # XXX: Workaround for fact ERP5Type is not an distribution and does not
......
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