Ver Fonte

Merge pull request #26206 from crosbymichael/py-xunit

Output docker-py test results in xunit format
Vincent Demeester há 8 anos atrás
pai
commit
243d4dcc7e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      hack/make/test-docker-py

+ 1 - 1
hack/make/test-docker-py

@@ -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"