mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03: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> Upstream-commit: a9e513867cd9eb327ae56877886ed18a5ad5b691 Component: engine
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user