mirror of https://github.com/apache/cassandra
in cqlshlib unit reports also remove <testsuites> wrapping elements with attributes
patch by Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-21442
This commit is contained in:
parent
8c992cb6a5
commit
2a697431c7
|
|
@ -113,7 +113,7 @@ pytest --junitxml=${BUILD_DIR}/test/output/cqlshlib.xml
|
|||
RETURN="$?"
|
||||
|
||||
# remove <testsuites> wrapping elements. `ant generate-unified-test-report` doesn't like it`
|
||||
sed -r "s/<[\/]?testsuites>//g" ${BUILD_DIR}/test/output/cqlshlib.xml > /tmp/cqlshlib.xml
|
||||
sed -r "s/<[\/]?testsuites[^>]*>//g" ${BUILD_DIR}/test/output/cqlshlib.xml > /tmp/cqlshlib.xml
|
||||
cat /tmp/cqlshlib.xml > ${BUILD_DIR}/test/output/cqlshlib.xml
|
||||
|
||||
# don't do inline sed for linux+mac compat
|
||||
|
|
|
|||
Loading…
Reference in New Issue