diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-06-02 14:51:40 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-06-14 14:29:48 +0000 |
commit | 9ef1391d86be504226ed446b9c29024f2c1d5045 (patch) | |
tree | 541c7e1a8f2a163d389451a8857825d30e3c0435 /gcc | |
parent | 316b1d66d3d44fe4b64766a70ecb5d2f8569a5af (diff) | |
download | gcc-9ef1391d86be504226ed446b9c29024f2c1d5045.zip gcc-9ef1391d86be504226ed446b9c29024f2c1d5045.tar.gz gcc-9ef1391d86be504226ed446b9c29024f2c1d5045.tar.bz2 |
[contrib] validate_failures.py: Ignore stray filesystem paths in results
This patch simplifies comparison of results that have filesystem
paths. E.g., (assuming different values of <N>):
<cut>
Running /home/user/gcc-N/gcc/testsuite/gcc.target/aarch64/sve/acle/aarch64-sve-acle-asm.exp ...
ERROR: tcl error sourcing /home/user/gcc-N/gcc/testsuite/gcc.target/aarch64/sve/acle/aarch64-sve-acle-asm.exp.
</cut>
We add "--srcpath <regex>", option, and set it by default to
"[^ ]+/testsuite/", which works well for all components of the GNU
Toolchain. We then remove substrings matching <regex> from paths of
.exp files and from occasional "ERROR:" results.
contrib/ChangeLog:
* testsuite-management/validate_failures.py (TestResult,)
(ParseManifestWorker, ParseSummary, Main): Handle new option
"--srcpath <regex>".
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions