浏览代码

Merge pull request #26206 from crosbymichael/py-xunit

Output docker-py test results in xunit format
Vincent Demeester 8 年之前
父节点
当前提交
243d4dcc7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 	# 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
 	bundle .integration-daemon-stop
 ) 2>&1 | tee -a "$DEST/test.log"
 ) 2>&1 | tee -a "$DEST/test.log"