Skip to content

Commit 3c5d461

Browse files
committed
Support LCOV v2.0
1 parent 4a5ee84 commit 3c5d461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/removeHtmlDates.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ set -o errexit -o noclobber -o nounset -o pipefail
1313
while IFS= read -d '' -r htmlFile; do
1414
sed -Ei \
1515
-e '/headerItem">Test:</{s/>.*:/>Project:/;n;s/>.*</>${PROJECT_NAME}</}' \
16-
-e '/headerItem">Date:</{s/>.*:/>Version:/;n;s/>.*</>${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX}</}' \
16+
-e '/headerItem">(Test )?Date:</{s/>.*:/>Version:/;n;s/>.*</>${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX}</}' \
1717
"$htmlFile" < /dev/null
1818
done < <(find '${PROJECT_BINARY_DIR}/coverage/' -name '*.html' -print0)

0 commit comments

Comments
 (0)