diff options
author | Martin Nowack <martin@se.inf.tu-dresden.de> | 2014-04-29 09:23:45 +0200 |
---|---|---|
committer | Martin Nowack <martin@se.inf.tu-dresden.de> | 2014-09-15 13:23:47 +0200 |
commit | 9cc7df88676bf2d236f1af8dfcc47fda2ba12f12 (patch) | |
tree | 8ce76ddeb9c7b2cc0518b8273b6f1b91c0ccadcf /test/lit.cfg | |
parent | aa000e933bda48ac67901b2a729dda7d5f9ca215 (diff) | |
download | klee-9cc7df88676bf2d236f1af8dfcc47fda2ba12f12.tar.gz |
Generate fake files for test cases
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 3 |
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: |