about summary refs log tree commit diff homepage
path: root/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
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'])