diff options
-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: |