Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Costa authored and Jorge Costa committed Jan 9, 2016
1 parent c9d3f9d commit 0135150
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions integration-tests/features/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import re
import os
import sys

SONAR_ERROR_RE = re.compile(".* ERROR .*")
SONAR_WARN_RE = re.compile(".* WARN .*")
Expand Down Expand Up @@ -53,8 +54,11 @@ def analyseloglines(lines, toignore=None):
badlines.append(line)
errors += 1
elif isSonarWarning(line, toingore_re):
badlines.append(line)
warnings += 1
if "JOURNAL_FLUSHER" not in line:
sys.stdout.write(INDENT + RED + "found warning '%s'" % line + RESET)
badlines.append(line)
warnings += 1

return badlines, errors, warnings


Expand Down

0 comments on commit 0135150

Please sign in to comment.