From 16f7f5575882d06e2b075d0b20ec76eaf531fa7b Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 18 Mar 2009 11:42:58 +0000 Subject: [PATCH] try to check /usr/lib/zope2.8 too suggested by Boris. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26089 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/runUnitTest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py index ae894912b2..72323211e1 100755 --- a/product/ERP5Type/tests/runUnitTest.py +++ b/product/ERP5Type/tests/runUnitTest.py @@ -139,16 +139,16 @@ if WIN: erp5_home = os.path.sep.join( tests_framework_home.split(os.path.sep)[:-4]) zope_home = os.path.join(erp5_home, 'Zope') - software_home = os.path.join(zope_home, 'lib', 'python') elif os.path.isdir('/usr/lib64/zope/lib/python'): - software_home = '/usr/lib64/zope/lib/python' zope_home = '/usr/lib64/zope' elif os.path.isdir('/usr/lib/erp5/lib/python'): - software_home = '/usr/lib/erp5/lib/python' zope_home = '/usr/lib/erp5' +elif os.path.isdir('/usr/lib/zope2.8/lib/python'): + zope_home = '/usr/lib/zope2.8' else: - software_home = '/usr/lib/zope/lib/python' zope_home = '/usr/lib/zope' +software_home = os.path.join(zope_home, 'lib', 'python') + # handle 'system global' instance and windows if WIN: real_instance_home = os.path.join(erp5_home, 'ERP5Instance') -- 2.30.9