]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Restore ability to run functional tests with run_tests.sh
authorTerry Wilson <twilson@redhat.com>
Wed, 16 Apr 2014 20:23:40 +0000 (16:23 -0400)
committerTerry Wilson <twilson@redhat.com>
Wed, 23 Apr 2014 15:37:35 +0000 (10:37 -0500)
commit7355521a50e16099ce8cd7a20f451f85ae007b6b
tree6d09e7be7e51a11ebba1d4a08769c6ed89e4efa5
parentf89d3fec9b34459683491de28ab5daccd9c12093
Restore ability to run functional tests with run_tests.sh

Change f20b1d42 which split the running of functional tests from
the running of unit tests caused running:
  ./run_tests.sh neutron.tests.functional
to fail as the OS_TEST_PATH variable will be defaulted to
neutron.tests.unit which means that the functional tests will not
be discovered in the above case.

This patch trys to detect an argument passed in the form of a
neutron.tests string and correctly sets the OS_TEST_PATH variable
based on it.

Change-Id: I8ccdc7f10d3c8478281aeaf8d02175d0eeb8d6e9
run_tests.sh