diff options
author | Simon Warta <[email protected]> | 2017-04-16 21:45:13 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-04-18 14:20:58 +0200 |
commit | bb13e9125119c4eecff7e4fe03bd620a5f145ce6 (patch) | |
tree | 77b93c3f0e957d83f5821a44dcdcaf57294729b4 | |
parent | 7fe500991e84c93d082e799c89df212aee9aa5ed (diff) |
Run cli tests on Travis
-rwxr-xr-x | src/scripts/ci/travis/build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh index 71d33d1bb..4c6730066 100755 --- a/src/scripts/ci/travis/build.sh +++ b/src/scripts/ci/travis/build.sh @@ -6,6 +6,7 @@ MAKE_PREFIX=() TEST_PREFIX=() TEST_EXE=./botan-test TEST_FLAGS=() +CLI_EXE=./botan CFG_FLAGS=(--prefix=/tmp/botan-installation --cc=$CC --os=$TRAVIS_OS_NAME) CC_BIN=$CXX @@ -179,6 +180,12 @@ else time "${TEST_CMD[@]}" fi +if [ "$BUILD_MODE" = "static" ] || [ "$BUILD_MODE" = "mini-static" ] || [ "$BUILD_MODE" = "shared" ] || [ "$BUILD_MODE" = "mini-shared" ] +then + echo "Running cli tests ..." + ./src/scripts/cli_tests.py "$CLI_EXE" +fi + # Run Python tests (need shared libs) if [ "$BUILD_MODE" = "shared" ] || [ "$BUILD_MODE" = "coverage" ]; then |