Mercurial > hg > truffle
diff mx/mx_graal.py @ 14751:015f84f0b375
added findbugs to the gate
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 25 Mar 2014 23:53:09 +0100 |
parents | bf51a92a1bdd |
children | c6f4b780fa88 |
line wrap: on
line diff
--- a/mx/mx_graal.py Tue Mar 25 23:52:57 2014 +0100 +++ b/mx/mx_graal.py Tue Mar 25 23:53:09 2014 +0100 @@ -1148,6 +1148,11 @@ t.abort('Checkstyle warnings were found') tasks.append(t.stop()) + t = Task('FindBugs') + if findbugs([]) != 0: + t.abort('FindBugs warnings were found') + tasks.append(t.stop()) + if exists('jacoco.exec'): os.unlink('jacoco.exec')