changeset 21960:f15b1d92e34b

re-enabled checking that jvmci.make is in sync with suite*.py
author Doug Simon <doug.simon@oracle.com>
date Sat, 13 Jun 2015 01:01:21 +0200
parents 3adf20a59771
children 9a73e6176063
files mx/mx_graal.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mx/mx_graal.py	Sat Jun 13 00:59:15 2015 +0200
+++ b/mx/mx_graal.py	Sat Jun 13 01:01:21 2015 +0200
@@ -1691,15 +1691,15 @@
     tasks = []
     total = Task('Gate')
     try:
+        with Task('Check jvmci.make in sync with suite.py', tasks) as t:
+            if t:
+                jvmciMake = join('make', 'jvmci.make')
+                if mx_graal_makefile.build_makefile(['-o', jvmciMake]) != 0:
+                    t.abort('Rerun "mx makefile -o ' + jvmciMake + ' and check-in the modified ' + jvmciMake)
+
         with Task('Pylint', tasks) as t:
             if t: mx.pylint([])
 
-        # with Task('Check jvmci.make in sync with suite.py', tasks) as t:
-        #     if t:
-        #         jvmciMake = join('make', 'jvmci.make')
-        #         if mx_graal_makefile.build_makefile(['-o', jvmciMake]) != 0:
-        #             t.abort('Rerun "mx makefile -o ' + jvmciMake + ' and check-in the modified ' + jvmciMake)
-
         def _clean(name='Clean'):
             with Task(name, tasks) as t:
                 if t: