aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci_build.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-10 17:26:04 -0500
committerJack Lloyd <[email protected]>2018-03-10 17:27:36 -0500
commit7f6b26e934b9a6015d9bf1fa236d8409ae59cf9f (patch)
treede681b005648cc376a225eb27e04eae4dc622b95 /src/scripts/ci_build.py
parente742386cb340f4966e880168772975f9dd532a90 (diff)
Add new CLI test script
Diffstat (limited to 'src/scripts/ci_build.py')
-rwxr-xr-xsrc/scripts/ci_build.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py
index a9a6afbdf..4fcdac997 100755
--- a/src/scripts/ci_build.py
+++ b/src/scripts/ci_build.py
@@ -378,6 +378,7 @@ def main(args=None):
'src/scripts/website.py',
'src/scripts/bench.py',
'src/scripts/test_python.py',
+ 'src/scripts/test_cli.py',
'src/scripts/python_unittests.py',
'src/scripts/python_unittests_unix.py']
@@ -432,11 +433,13 @@ def main(args=None):
os.path.join(root_dir, 'fuzzer_corpus'),
os.path.join(root_dir, 'build/fuzzer')])
- if target in ['static', 'shared'] and options.os != 'windows':
+ if target in ['shared', 'coverage'] and options.os != 'windows':
botan_exe = os.path.join(root_dir, 'botan-cli.exe' if options.os == 'windows' else 'botan')
- cmds.append([py_interp,
- os.path.join(root_dir, 'src/scripts/cli_tests.py'),
- botan_exe])
+
+ test_scripts = ['cli_tests.py', 'test_cli.py']
+ for script in test_scripts:
+ cmds.append([py_interp, os.path.join(root_dir, 'src/scripts', script),
+ botan_exe])
python_tests = os.path.join(root_dir, 'src/scripts/test_python.py')