align test.py with waf-1.6.10 changes

This commit is contained in:
Tom Henderson
2011-12-30 15:39:36 -08:00
parent 8065a03fdd
commit b015a80073

View File

@@ -500,7 +500,7 @@ def sigint_hook(signal, frame):
# and use that result.
#
def read_waf_config():
for line in open(".lock-wafbuild", "rt"):
for line in open(".lock-waf_" + sys.platform + "_build", "rt"):
if line.startswith("out_dir ="):
key, val = line.split('=')
out_dir = eval(val.strip())