Skip to content
Snippets Groups Projects
Commit 87b05e60 authored by Michael Haupt's avatar Michael Haupt
Browse files

exclude RParser and RLexer from FindBugs analysis

parent 2920dd0b
Branches
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- exclude generated parser and lexer -->
<Match>
<Class name="com.oracle.truffle.r.parser.RParser"/>
</Match>
<Match>
<Class name="com.oracle.truffle.r.parser.RLexer"/>
</Match>
</FindBugsFilter>
......@@ -84,7 +84,7 @@ def findbugs(args):
outputDirs = [p.output_dir() for p in nonTestProjects]
findbugsResults = join(_fastr_suite.dir, 'findbugs.results')
cmd = ['-jar', findbugsJar, '-textui', '-low', '-maxRank', '15']
cmd = ['-jar', findbugsJar, '-textui', '-low', '-maxRank', '15', '-exclude', join(_fastr_suite.mxDir, 'findbugs-exclude.xml')]
if sys.stdout.isatty():
cmd.append('-progress')
cmd = cmd + ['-auxclasspath', mx.classpath([p.name for p in nonTestProjects]), '-output', findbugsResults, '-exitcode'] + args + outputDirs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment