mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0: in cqlshlib unit reports also remove <testsuites> wrapping elements with attributes
This commit is contained in:
commit
344b408f35
|
|
@ -97,7 +97,7 @@ pytest --junitxml=${BUILD_DIR}/test/output/cqlshlib.xml
|
||||||
RETURN="$?"
|
RETURN="$?"
|
||||||
|
|
||||||
# remove <testsuites> wrapping elements. `ant generate-unified-test-report` doesn't like it`
|
# 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
|
cat /tmp/cqlshlib.xml > ${BUILD_DIR}/test/output/cqlshlib.xml
|
||||||
|
|
||||||
# don't do inline sed for linux+mac compat
|
# don't do inline sed for linux+mac compat
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue