Skip to content

Commit

Permalink
Ignore extern definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
J2000A committed Aug 4, 2023
1 parent 840d587 commit 9bf2959
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scripts/update_suite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,14 @@ def parse_tests (lines)
elsif obj =~ /(\b|\/)UNKNOWN/ then
tests[i] = "unknown"
elsif obj =~ /(\b|\/)(assert|__goblint_check).*\(/ then
if obj =~ /(\b|\/)FAIL/ then
tests[i] = "fail"
elsif obj =~ /(\b|\/)UNKNOWN/ then
tests[i] = "unknown"
else
tests[i] = "assert"
unless obj =~ /^\s*extern\b/
if obj =~ /(\b|\/)FAIL/ then
tests[i] = "fail"
elsif obj =~ /(\b|\/)UNKNOWN/ then
tests[i] = "unknown"
else
tests[i] = "assert"
end
end
end
end
Expand Down

0 comments on commit 9bf2959

Please sign in to comment.