Commit Graph
6 Commits
Author SHA1 Message Date
Bård SkaflestadandCopilot Autofix powered by AI 9d321db0d8 Use Exact Test Name Matching When Extracting Test Properties
This commit switches away from matching specific test names in
CTestTestfile.cmake using regular expressions to using exact name
match instead.  The regular expressions are a little too brittle in
the face of partially overlapping test names like

    compareECLFiles_flow+UDT-1D-01
    compareECLFiles_flow+UDT-1D-01B

for which the greedy matching ".*$" could yield false positives.
Instead we use the "index" function to pinpoint the exact line, and
position within the line, that matches exactly that test and
specific property.  While here, switch the injected variable name
away from "search" and over to "test" to better reflect the nature
of the variable and update call sites accordingly.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-29 09:09:38 +02:00
Arne Morten Kvarving e1f16115f6 fix: update_data and failure_report triggers
for reason unknown, cmake sometimes choose to pad/escape test names with a
=[ ... ]= in the CTestTestFile. Due to changes lately, this has somehow
triggered. Since we rely on extrating information
from this file, update_data and failure_report triggers broke.

this makes the re's more resilient by allowing the existence of the separators
2026-01-23 13:26:59 +01:00
Arne Morten Kvarving 38e23b82bd failure_report: add parallel execution 2025-12-09 10:04:19 +01:00
Arne Morten Kvarving f03dd03517 added: add compareSeparateEclFiles to failure report 2025-11-12 13:33:53 +01:00
Arne Morten Kvarving d4d2fa9a17 fixed: don't fail build if there are no failures 2024-11-12 14:31:35 +01:00
Arne Morten Kvarving 2166ec6328 added: scripts for generating failure reports on jenkins
this creates a pdf for each failed case with plots of summary
curves
2024-09-10 11:47:46 +02:00