Unverified Commit 6a5401d8 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub

Merge pull request #1 from florent-lamiraux/master

Improve script update.py
parents 90c887ae 3863e85e
......@@ -24,7 +24,9 @@ for pkg, commit_id in commits.iteritems ():
'git --work-tree=./' + pkg + ' --git-dir=./' + pkg +
'/.git branch -D benchmark',
'git --work-tree=./' + pkg + ' --git-dir=./' + pkg +
'/.git checkout -b benchmark ' + commit_id ]
'/.git checkout -b benchmark ' + commit_id,
'if [ -f ' + pkg + '/.gitmodules ]; then cd ' + pkg +
'; git submodule update; cd ..; fi']
for c, i in zip (command, xrange (1000)):
print (c)
res = commands.getstatusoutput (c)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment