comparison 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
comparison
equal deleted inserted replaced
14750:7b3ee54233ea 14751:015f84f0b375
1144 tasks.append(t.stop()) 1144 tasks.append(t.stop())
1145 1145
1146 t = Task('Checkstyle') 1146 t = Task('Checkstyle')
1147 if mx.checkstyle([]) != 0: 1147 if mx.checkstyle([]) != 0:
1148 t.abort('Checkstyle warnings were found') 1148 t.abort('Checkstyle warnings were found')
1149 tasks.append(t.stop())
1150
1151 t = Task('FindBugs')
1152 if findbugs([]) != 0:
1153 t.abort('FindBugs warnings were found')
1149 tasks.append(t.stop()) 1154 tasks.append(t.stop())
1150 1155
1151 if exists('jacoco.exec'): 1156 if exists('jacoco.exec'):
1152 os.unlink('jacoco.exec') 1157 os.unlink('jacoco.exec')
1153 1158