]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't need to init testr in run_tests.sh
authorKui Shi <skuicloud@gmail.com>
Wed, 11 Sep 2013 17:04:09 +0000 (01:04 +0800)
committerKui Shi <skuicloud@gmail.com>
Wed, 11 Sep 2013 17:04:09 +0000 (01:04 +0800)
commit3555240db39186cd4c47fc54417614252ededb06
tree955a8f635f74c22ff789321dee939c0d429e9e3c
parent116b2faeca2752d12905c3c0504a6b5df2e0eb15
Don't need to init testr in run_tests.sh

In run_tests.sh, function init_testr will initialize testr if the
directory .testrepository is not existed. Actually, testr will do
the check before run the test:

In Python package testrepository, setuptools_command.py:Testr.run

68 def run(self):
69     """Set up testr repo, then run testr"""
70     if not os.path.isdir(".testrepository"):
71         self._run_testr("init")

So, init_testr can be removed safely.

Fixes Bug #1224285

Change-Id: Ia74d9fff92b8efba9b72e5c7387f761144daa193
run_tests.sh