# HG changeset patch # User Doug Simon # Date 1395787989 -3600 # Node ID 015f84f0b375456f7e1a284d095337a99d66d631 # Parent 7b3ee54233ea54091c98515ebf625cdfb2b20b8a added findbugs to the gate diff -r 7b3ee54233ea -r 015f84f0b375 mx/mx_graal.py --- 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')