diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-01-13 02:18:37 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-01-20 13:40:25 +0000 |
commit | 313390c68fc808d5fe7cf746a7a65b1e018362dc (patch) | |
tree | d5d33b2aa90a79a2691ee6999857e9ce3bf093fc /test/lit.cfg | |
parent | f5afeb84a847e3876122211913b7117fd3ad1862 (diff) | |
download | klee-313390c68fc808d5fe7cf746a7a65b1e018362dc.tar.gz |
Allow llvm-lit from 2.9 to work by hacking %T substitution variable.
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 191461b6..f81576f9 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -77,6 +77,10 @@ for sub in ['llvmgcc', 'llvmgxx']: config.substitutions.append(('%kleaver', 'kleaver')) config.substitutions.append(('%klee', 'klee')) +# LLVM < 3.0 doesn't Support %T directive +if int(config.llvm_version_major) == 2: + config.substitutions.append(('%T','Output')) + def klee_supports_posix_runtime(): return int(site_exp['ENABLE_POSIX_RUNTIME']) |