f752ac9add
Moved test modules: tests/ -> tests/unit test_ci/ -> tests/ci tests_functional -> tests/functional rally/hacking -> tests/hacking Add testing read me file Co-Authored-By: Boris Pavlovic <boris@pavlovic.me> Co-Authored-By: Andrey Kurilin <akurilin@mirantis.com> Change-Id: I57c09d892da4adf863c358a4d63e3543b50d10b7
13 lines
243 B
Bash
Executable File
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
|