]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Don't need to init testr explicitly
authorKui Shi <skuicloud@gmail.com>
Fri, 30 Aug 2013 07:18:10 +0000 (15:18 +0800)
committerKui Shi <skuicloud@gmail.com>
Fri, 30 Aug 2013 07:19:38 +0000 (15:19 +0800)
commit059bc7a08cea2704853beb4543a2df1f9b3080f0
tree0b2759f6d13a0b3c3931885edfa2b0d377a1e92c
parent9afb7718c31104edc854eec2ff56940070397ccd
Don't need to init testr explicitly

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 #1216820
Change-Id: Id9815033c0cb0e1aa6693a4c14bf9a5d490c8883
run_tests.sh