rally/tests_ci/rally-integrated.sh
Mikhail Dubov 543a7900f5 Improve CLI functional tests
We fix a bug connected to wrong task configuration used in CLI tests for tasks.
We also refactor the tests a bit to make them more readable.

CLI functional tests have been moved to a separate directory, and the tests_ci/
directory has been supplied with a README file.

Co-authored-by: Sergey Skripnick<sskripnick@mirantis.com>
Change-Id: I927c91f119765f27ee6b8b7c98d4156c02700102
Closes-Bug: 1374407
2014-10-04 02:30:28 +04:00

13 lines
243 B
Bash
Executable File

#!/bin/sh -ex
env
mkdir -p .testrepository
python -m subunit.run discover tests_functional > .testrepository/subunit.log
EXIT_CODE=$?
subunit2pyunit < .testrepository/subunit.log
subunit-stats < .testrepository/subunit.log
exit $EXIT_CODE