changeset 14751:015f84f0b375

added findbugs to the gate
author Doug Simon <doug.simon@oracle.com>
date Tue, 25 Mar 2014 23:53:09 +0100
parents 7b3ee54233ea
children 311bf6c7488b
files mx/mx_graal.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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')