From 2c41b1d307bf6c17c7b7a2c99653fad7e43278b7 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 29 Feb 2012 14:37:55 +0100 Subject: [PATCH] the list of test directories should be calculated by products:list instead of dumb glob. --- stack/erp5.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack/erp5.cfg b/stack/erp5.cfg index 90dd17b6e..e3e28f986 100644 --- a/stack/erp5.cfg +++ b/stack/erp5.cfg @@ -280,8 +280,8 @@ initialization = sys.path[:0] = [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), []) + glob.glob(os.path.join(x, '*', 'tests')) + for x in reversed('''${products:list}'''.split())), []) [test_suite_runner] # XXX: Workaround for fact ERP5Type is not an distribution and does not -- 2.30.9