[gnome-shell] ci: Fix check-commit-log test failure count
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ci: Fix check-commit-log test failure count
- Date: Fri, 20 Nov 2020 18:19:16 +0000 (UTC)
commit 408c922148d15b61322a98ecdd9653b9eaa8a947
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Nov 20 17:34:19 2020 +0100
ci: Fix check-commit-log test failure count
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1505>
.gitlab-ci/check-commit-log.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/check-commit-log.sh b/.gitlab-ci/check-commit-log.sh
index 00fd893884..ac74b9bdc8 100755
--- a/.gitlab-ci/check-commit-log.sh
+++ b/.gitlab-ci/check-commit-log.sh
@@ -38,7 +38,7 @@ function append_passed_test_case() {
function generate_junit_report() {
junit_report_file="$1"
num_tests=$(cat "$JUNIT_REPORT_TESTS_FILE" | wc -l)
- num_failures=$(grep '<failure />' "$JUNIT_REPORT_TESTS_FILE" | wc -l )
+ num_failures=$(grep '<failure ' "$JUNIT_REPORT_TESTS_FILE" | wc -l )
echo Generating JUnit report \"$(pwd)/$junit_report_file\" with $num_tests tests and $num_failures
failures.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]