Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions scripts/linux/fv/test_fv.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -ex
#
# Copyright (C) 2019-2025 HERE Europe B.V.
# Copyright (C) 2019-2026 HERE Europe B.V.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -102,14 +102,11 @@ else
echo "OK. Full list of test reports was generated. "
fi

for failreport in $(ls ${REPO_HOME}/reports/*.xml)
for report in $(ls ${REPO_HOME}/reports/*.xml)
do
echo "Parsing ${failreport} ..."
if $(grep -q "<failure" "${failreport}" ) ; then
echo "${failreport} contains errors : "
echo "Printing report ##################################################################################"
cat ${failreport}
echo "End of report ####################################################################################"
echo "Parsing ${report} ..."
if $(grep -q "<failure" "${report}" ) ; then
echo "FAILURE: ${report} contains test failures. Check artifacts!"
fi
done

Expand Down
Loading