diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-09-16 21:23:35 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-16 21:23:35 -0400 |
| commit | f3c04dbcb7cfe0122fa8158cd6ed8c9942cd44b9 (patch) | |
| tree | 9f1e5ba521ff2af729c1f10cb65b2f529d2f0842 /TestScripts | |
| parent | 913a9e60d375e4581d4eca7078f0786327afa258 (diff) | |
| download | cryptopp-git-f3c04dbcb7cfe0122fa8158cd6ed8c9942cd44b9.tar.gz | |
Remove CMake testing support (GH #506)
CMake can now be found at http://www.cryptopp.com/wiki/CMake. The Cmake project files are now maintianed by the community.
Diffstat (limited to 'TestScripts')
| -rwxr-xr-x | TestScripts/cryptest.sh | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh index b3664573..74f3ec79 100755 --- a/TestScripts/cryptest.sh +++ b/TestScripts/cryptest.sh @@ -4714,73 +4714,6 @@ if [[ ("$IS_DARWIN" -ne "0" && "$HAVE_CXX17" -ne "0") ]]; then fi ############################################ -# CMake builds -CMAKE=$(which cmake 2>&1 | "$GREP" -v "no cmake" | head -1) -if [[ (! -z "$CMAKE") ]]; then - ############################################ - # Debug build - echo - echo "************************************" | tee -a "$TEST_RESULTS" - echo "Testing: Debug, CMake build" | tee -a "$TEST_RESULTS" - echo - - "$MAKE" clean > /dev/null 2>&1 - rm -f adhoc.cpp > /dev/null 2>&1 - - mkdir cryptopp-cmake - cd cryptopp-cmake - - "$CMAKE" -DCMAKE_BUILD_TYPE=Debug ../ - "$MAKE" "${MAKEARGS[@]}" static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS" - - if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then - echo "ERROR: failed to make cryptest.exe" | tee -a "$TEST_RESULTS" - else - ./cryptest.exe v 2>&1 | tee -a "$TEST_RESULTS" - if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then - echo "ERROR: failed to execute validation suite" | tee -a "$TEST_RESULTS" - fi - ./cryptest.exe tv all 2>&1 | tee -a "$TEST_RESULTS" - if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then - echo "ERROR: failed to execute test vectors" | tee -a "$TEST_RESULTS" - fi - fi - - cd ../ - rm -rf cryptopp-cmake &> /dev/null - - ############################################ - # Release build - echo - echo "************************************" | tee -a "$TEST_RESULTS" - echo "Testing: Release, CMake build" | tee -a "$TEST_RESULTS" - echo - - mkdir cryptopp-cmake - cd cryptopp-cmake - - "$CMAKE" -DCMAKE_BUILD_TYPE=Release ../ - "$MAKE" "${MAKEARGS[@]}" static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS" - - if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then - echo "ERROR: failed to make cryptest.exe" | tee -a "$TEST_RESULTS" - else - ./cryptest.exe v 2>&1 | tee -a "$TEST_RESULTS" - if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then - echo "ERROR: failed to execute validation suite" | tee -a "$TEST_RESULTS" - fi - ./cryptest.exe tv all 2>&1 | tee -a "$TEST_RESULTS" - if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then - echo "ERROR: failed to execute test vectors" | tee -a "$TEST_RESULTS" - fi - echo - fi - - cd ../ - rm -rf cryptopp-cmake &> /dev/null -fi - -############################################ # Benchmarks if [[ "$WANT_BENCHMARKS" -ne "0" ]]; then |
