Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 14773:78343531acc7
added checkheaders to the gate
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 26 Mar 2014 21:10:24 +0100 |
parents | c929a4a3b6c5 |
children | 10c6700908ef |
comparison
equal
deleted
inserted
replaced
14772:c929a4a3b6c5 | 14773:78343531acc7 |
---|---|
1145 tasks.append(t.stop()) | 1145 tasks.append(t.stop()) |
1146 | 1146 |
1147 t = Task('Checkstyle') | 1147 t = Task('Checkstyle') |
1148 if mx.checkstyle([]) != 0: | 1148 if mx.checkstyle([]) != 0: |
1149 t.abort('Checkstyle warnings were found') | 1149 t.abort('Checkstyle warnings were found') |
1150 tasks.append(t.stop()) | |
1151 | |
1152 t = Task('Checkheaders') | |
1153 if checkheaders([]) != 0: | |
1154 t.abort('Checkheaders warnings were found') | |
1150 tasks.append(t.stop()) | 1155 tasks.append(t.stop()) |
1151 | 1156 |
1152 t = Task('FindBugs') | 1157 t = Task('FindBugs') |
1153 if findbugs([]) != 0: | 1158 if findbugs([]) != 0: |
1154 t.abort('FindBugs warnings were found') | 1159 t.abort('FindBugs warnings were found') |