revsetbenchmarks: run make after update so that C extensions are built
authorYuya Nishihara <yuya@tcha.org>
Sat, 15 Aug 2015 17:50:59 +0900
changeset 26034 1d829f802fab
parent 26033 9e7d805925c8
child 26035 86598f4fe1cf
revsetbenchmarks: run make after update so that C extensions are built
contrib/revsetbenchmarks.py
--- a/contrib/revsetbenchmarks.py	Fri Aug 14 12:36:41 2015 +0900
+++ b/contrib/revsetbenchmarks.py	Sat Aug 15 17:50:59 2015 +0900
@@ -33,6 +33,8 @@
     """update the repo to a revision"""
     try:
         check_call(['hg', 'update', '--quiet', '--check', str(rev)])
+        check_output(['make', 'local'],
+                     stderr=None)  # suppress output except for error/warning
     except CalledProcessError as exc:
         print >> sys.stderr, 'update to revision %s failed, aborting' % rev
         sys.exit(exc.returncode)