[llvm-commits] [zorg] r151215 - /zorg/trunk/lnt/lnt/tests/compile.py
Daniel Dunbar
daniel at zuster.org
Wed Feb 22 16:08:11 PST 2012
Author: ddunbar
Date: Wed Feb 22 18:08:11 2012
New Revision: 151215
URL: http://llvm.org/viewvc/llvm-project?rev=151215&view=rev
Log:
[lnt] lnt.tests.compile: Include project record in last unpack hash, to catch
changes to patch files and things.
Modified:
zorg/trunk/lnt/lnt/tests/compile.py
Modified: zorg/trunk/lnt/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/tests/compile.py?rev=151215&r1=151214&r2=151215&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/compile.py (original)
+++ zorg/trunk/lnt/lnt/tests/compile.py Wed Feb 22 18:08:11 2012
@@ -228,7 +228,7 @@
# Check if we need to expand the archive into the sandbox.
archive_path = get_input_path(opts, project['archive'])
with open(archive_path) as f:
- archive_hash = hashlib.md5(f.read()).hexdigest()
+ archive_hash = hashlib.md5(f.read() + str(project)).hexdigest()
# Compute the path to unpack to.
source_path = get_output_path("..", "Sources", project['name'])
More information about the llvm-commits
mailing list