diff options
author | Willem <willem@lekkertech.net> | 2014-10-08 21:06:14 -0700 |
---|---|---|
committer | Willem <willem@lekkertech.net> | 2014-10-08 21:50:46 -0700 |
commit | 86f5f5edbdd24b793e1f9eff4b338d867f6dc97f (patch) | |
tree | 7aa85a5e444ddfe0ec1c251a6ab0b61517972e34 /test/Concrete/ConcreteTest.py | |
parent | 0c8c812db1d331f1e49e27ccd35f1288e58d97e6 (diff) | |
download | klee-86f5f5edbdd24b793e1f9eff4b338d867f6dc97f.tar.gz |
Fixes support for passing arguments to klee in the ConcreteTests.
This is for use with llvm-lit --param=klee_opts=... Fixes lit.cfg to not have an extranous space behind the klee command. Augments ConcreteTest to accept and pass arguments to klee. Augments all the ConcreteTest cases to wrap %klee in quotes. Without wrapping %klee the extra arguments will be seens as arguments to ConcreteTest.py resulting in an unknown argument error.
Diffstat (limited to 'test/Concrete/ConcreteTest.py')
-rwxr-xr-x | test/Concrete/ConcreteTest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Concrete/ConcreteTest.py b/test/Concrete/ConcreteTest.py index 290991b7..754c0fe6 100755 --- a/test/Concrete/ConcreteTest.py +++ b/test/Concrete/ConcreteTest.py @@ -30,7 +30,7 @@ def testFile(name, klee_path, lli_path): klee_out_path = "Output/%s.klee-out" % (baseName,) if os.path.exists(klee_out_path): shutil.rmtree(klee_out_path) - klee_cmd = [klee_path, '--output-dir=' + klee_out_path, '--no-output', exeFile] + klee_cmd = klee_path.split() + ['--output-dir=' + klee_out_path, '--no-output', exeFile] print("EXECUTING: %s" % (klee_cmd,)) sys.stdout.flush() |