diff options
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh index c8d8e7d1a..b4ddc94ce 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -53,6 +53,17 @@ run_tests() { fi } +run_functional_test() { + + mkdir -p .testrepository + python -m subunit.run discover tests/functional > .testrepository/subunit.log + + subunit2pyunit < .testrepository/subunit.log + EXIT_CODE=$? + subunit-stats < .testrepository/subunit.log + + exit $EXIT_CODE +} run_flake8 run_tests - +run_functional_test |