Skip to content

Commit

Permalink
more analysis tags regexps: switch removal, linker error
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Oct 19, 2024
1 parent 12391a1 commit d35ef88
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/ctr_good_or_invalid.pl
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,8 @@ sub parse_test_report {
) {
$add_analysis_tag->('switch removal');
} elsif ( # Error: syntax error at /home/cpansand/.cpan/build/2024101508/REST-Neo4p-0.4003-0/blib/lib/REST/Neo4p/Agent.pm line 214, near ") {"
/\Qsyntax error at .*, near \"\)\s*\{\"/
# Error: syntax error at /home/cpansand/.cpan/build/2024101510/Tapper-Installer-5.0.1-0/blib/lib/Tapper/Installer/Base.pm line 221, near "){"
/syntax error at .*, near \"\)\s*\{\"/
) {
$add_analysis_tag->('possibly switch removal');
} elsif (
Expand Down Expand Up @@ -970,7 +971,9 @@ sub parse_test_report {
} elsif (
/^collect2: error: ld returned 1 exit status/ ||
m{^/usr/bin/ld: [^:]+: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC} ||
/^.*\.a\(.*\.o\):.*: undefined reference to `.*'/ # g++/windows/strawberry perl
/^.*\.a\(.*\.o\):.*: undefined reference to `.*'/ || # g++/windows/strawberry perl
/ld: error: undefined hidden symbol: / || # clang freebsd
m{\bld: \S+\.so: hidden symbol `.*' isn't defined} # gcc linux
) {
$add_analysis_tag->('linker error');
} elsif (
Expand Down

0 comments on commit d35ef88

Please sign in to comment.