1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Output docker-py test results in xunit format

This adds a `results.xml` to the test-docker-py output folder.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-08-31 09:35:49 -07:00
parent b42ab41b8f
commit a9e513867c

View file

@ -14,7 +14,7 @@ source hack/make/.integration-test-helpers
}
# exporting PYTHONPATH to import "docker" from our local docker-py
test_env PYTHONPATH="$dockerPy" py.test "$dockerPy/tests/integration"
test_env PYTHONPATH="$dockerPy" py.test --junitxml="$DEST/results.xml" "$dockerPy/tests/integration"
bundle .integration-daemon-stop
) 2>&1 | tee -a "$DEST/test.log"