Browse code

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>

Michael Crosby authored on 2016/09/01 01:35:49
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ source hack/make/.integration-test-helpers
14 14
 	}
15 15
 
16 16
 	# exporting PYTHONPATH to import "docker" from our local docker-py
17
-	test_env PYTHONPATH="$dockerPy" py.test "$dockerPy/tests/integration"
17
+	test_env PYTHONPATH="$dockerPy" py.test --junitxml="$DEST/results.xml" "$dockerPy/tests/integration"
18 18
 
19 19
 	bundle .integration-daemon-stop
20 20
 ) 2>&1 | tee -a "$DEST/test.log"