changeset 26034:1d829f802fab

revsetbenchmarks: run make after update so that C extensions are built
author Yuya Nishihara <yuya@tcha.org>
date Sat, 15 Aug 2015 17:50:59 +0900
parents 9e7d805925c8
children 86598f4fe1cf
files contrib/revsetbenchmarks.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)