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.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index ccd3b57e..25b48334 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -28,6 +28,8 @@ config.test_source_root = os.path.dirname(__file__)
 
 # test_exec_root: The root path where tests should be run.
 klee_obj_root = getattr(config, 'klee_obj_root', None)
+klee_src_root = getattr(config, 'klee_src_root', None)
+
 if klee_obj_root is not None:
     config.test_exec_root = os.path.join(klee_obj_root, 'test')
 
@@ -100,6 +102,7 @@ for s,basename,extra_args in subs:
                                  )
                                )
 
+config.substitutions.append( ('%gentmp', os.path.join(klee_src_root, 'scripts/genTempFiles.sh')) )
 
 # LLVM < 3.0 doesn't Support %T directive
 if int(config.llvm_version_major) == 2: