From aa9d6e30f6581f8b1a803e1e459a2ef3f3dbb697 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Mon, 13 Jan 2014 18:10:54 +0000 Subject: Give absolute paths to KLEE's tools in lit.cfg . This fixes a long standing FIXME: --- test/lit.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/lit.cfg b/test/lit.cfg index 9344cae8..36a79b42 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -53,9 +53,11 @@ for name in subs: lit.fatal('{0} is not set'.format(name)) config.substitutions.append( ('%' + name, value)) -# FIXME: Give these proper paths. -config.substitutions.append(('%kleaver', 'kleaver')) -config.substitutions.append(('%klee', 'klee')) +# Set absolute paths for KLEE's tools +subs = [ ('%kleaver', 'kleaver'), ('%klee','klee') ] +for s,basename in subs: + config.substitutions.append( (s, os.path.join(klee_tools_dir, basename) ) ) + # LLVM < 3.0 doesn't Support %T directive if int(config.llvm_version_major) == 2: -- cgit 1.4.1