diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-01-13 18:10:54 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-01-20 14:46:52 +0000 |
commit | aa9d6e30f6581f8b1a803e1e459a2ef3f3dbb697 (patch) | |
tree | 8e329d95a6ea6f9a1f54bcf771903ce8eaa120c7 /test/lit.cfg | |
parent | 48ce6b94f4fe5131242ba87485cd79e081a991ed (diff) | |
download | klee-aa9d6e30f6581f8b1a803e1e459a2ef3f3dbb697.tar.gz |
Give absolute paths to KLEE's tools in lit.cfg . This fixes a long
standing FIXME:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 8 |
1 files changed, 5 insertions, 3 deletions
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: |