Skip to content

Commit

Permalink
Fix logging of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomc committed Jan 28, 2019
1 parent 0dd7d3f commit 7f91ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multilep/test/testing/runTests.py
Expand Up @@ -42,7 +42,7 @@ def compatible(tuple1, tuple2):
if len(removed): logger.write(' Removed: ' + ','.join(removed) + '\n')
if len(changed): logger.write(' Changed:\n')
for c in changed:
logger.write(' %-50s mean: %-25s rms: %-25s\n' % (c, '%8.4f --> %8.4f' % (newData[c][0], refData[c][0]), '%8.4f --> %8.4f' % (newData[c][1], refData[c][1])))
logger.write(' %-50s mean: %-25s rms: %-25s\n' % (c, '%8.4f --> %8.4f' % (refData[c][0], newData[c][0]), '%8.4f --> %8.4f' % (refData[c][1], newData[c][1])))

# Compile
print system('eval `scram runtime -sh`;cd $CMSSW_BASE/src;scram b -j 10')
Expand Down

0 comments on commit 7f91ed2

Please sign in to comment.