Commit e7c3d796 authored by Jérome Perrin's avatar Jérome Perrin

honor SOFTWARE_HOME environment variables and other if they are set explicitly

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24431 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f813d207
......@@ -225,10 +225,10 @@ def runUnitTestList(test_list, verbosity=1, debug=0):
if not test_list:
print "No test to run, exiting immediately."
return
os.environ['INSTANCE_HOME'] = instance_home
os.environ['SOFTWARE_HOME'] = software_home
os.environ['COPY_OF_INSTANCE_HOME'] = instance_home
os.environ['COPY_OF_SOFTWARE_HOME'] = software_home
os.environ.setdefault('INSTANCE_HOME', instance_home)
os.environ.setdefault('SOFTWARE_HOME', software_home)
os.environ.setdefault('COPY_OF_INSTANCE_HOME', instance_home)
os.environ.setdefault('COPY_OF_SOFTWARE_HOME', software_home)
os.environ.setdefault('EVENT_LOG_FILE', os.path.join(tests_home, 'zLOG.log'))
os.environ.setdefault('EVENT_LOG_SEVERITY', '-300')
......
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