Commit Graph

299 Commits (c06995a71b8e90bb10c2f00d137f74b9108cfcc1)

Author SHA1 Message Date
Jeffrey Walton c6a7de658b Fix Sun Studio 12.5 detection 2016-07-08 18:05:22 -04:00
Jeffrey Walton 6c0b120072 Go back to Commit 66ada4cc61 2016-07-06 14:39:18 -04:00
Mouse efd1b9e3d5 Revert "Merge remote-tracking branch 'upstream/master'" - shouldn't be merged by me
This reverts commit b48866631a, reversing
changes made to 2733630a3f.
2016-07-06 12:14:12 -04:00
Mouse fd1a8830d3 Revert "Merge remote-tracking branch 'upstream/master'" - shouldn't be merged by me
This reverts commit a424635a14, reversing
changes made to 1cf48cf97b.
2016-07-06 12:11:41 -04:00
Mouse 87be783cd1 Revert "Merge remote-tracking branch 'upstream/master'" - not intended to be merged by me
This reverts commit 762c315566, reversing
changes made to b48866631a.
2016-07-06 12:01:28 -04:00
Jeffrey Walton 36a4591304 Fix typo for -std=gnu++03 2016-07-04 22:14:51 -04:00
Jeffrey Walton a890e8851e Add test for -std=gnu++03 2016-07-04 18:06:44 -04:00
Jeffrey Walton 6853716147 Format output 2016-07-04 06:25:35 -04:00
Jeffrey Walton b67c628270 Add additional warnings to ELEVATED_CXXFLAGS for GCC 6.0 and above 2016-07-03 23:57:25 -04:00
Jeffrey Walton 6cd587da4c Add PowerPC reporting 2016-07-03 22:50:02 -04:00
Jeffrey Walton e1e7049459 Add gnu++11, gnu++14 and gnu++17 testing 2016-07-03 22:38:04 -04:00
Jeffrey Walton cb9defd0c4 Add gnu++11, gnu++14 and gnu++17 testing 2016-07-03 22:34:57 -04:00
Jeffrey Walton 739c8e5c14 Work around Issue 212 until we find a more permanent solution 2016-07-01 20:39:32 -04:00
Jeffrey Walton 113755dd5b Cleanup results of cryptest.sh script 2016-06-29 21:59:09 -04:00
Jeffrey Walton f91ca811ff Add ASAN_SYMBOLIZE reporting 2016-06-26 17:15:47 -04:00
Jeffrey Walton e737c3616c Fix ASAN_SYMBOLIZE under Linux with Core2 2016-06-26 09:28:43 -04:00
Jeffrey Walton 9bc28b996a Add default value for HAVE_SYMBOLIZE 2016-06-26 07:55:11 -04:00
Jeffrey Walton e795a26e41 Improve Asan symbolizer handling 2016-06-26 07:50:11 -04:00
Jeffrey Walton 5b96c03ecb Improve ARM feature reporting. Add S/390 identification 2016-06-24 18:43:48 -04:00
Jeffrey Walton 974a62af5d Add switch for "HAVE_VALGRIND=0" and "WANT_BENCHMARKS=0" 2016-06-23 20:03:13 -04:00
Jeffrey Walton 2629cdf25a Add X32 reporting 2016-06-23 03:25:19 -04:00
Jeffrey Walton 946448aba3 Fix Address Sanitizer feature detection.Compile and link is not enough. Testing an empty main fails under X32 2016-06-22 07:41:52 -04:00
Jeffrey Walton eb52134f03 Add missing Debug/CRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 test. Whitespace 2016-06-21 10:32:30 -04:00
Jeffrey Walton a6472ea5b4 Use AWK to avoid HEAD. Add Intel ICPC test 2016-06-21 05:25:05 -04:00
Jeffrey Walton ed625338d3 Fix missing parenthesis around expression 2016-06-20 15:03:27 -04:00
Jeffrey Walton c437b8980d Fix "asan_symbolize: command not found" (Issue 197) 2016-06-20 14:38:40 -04:00
Jeffrey Walton 3dfecc7613 Add additional compiler checks 2016-06-20 09:07:40 -04:00
Jeffrey Walton f35e5b8399 Report compiler and symlink status 2016-06-20 04:28:45 -04:00
Jeffrey Walton 6b76fbc993 Add execution time to both error and warning logs 2016-06-20 04:01:25 -04:00
Jeffrey Walton 47d32c87f5 Add -march=armv7a when available so its more thoroughly tested 2016-06-20 03:10:23 -04:00
Jeffrey Walton f35a86aa58 Fix typo in 'if' statement 2016-06-20 00:49:13 -04:00
Jeffrey Walton e916b9049c Make TEST_RESULTS and friends configurable. Remove previous results from INSTALL_RESULTS 2016-06-20 00:34:18 -04:00
Jeffrey Walton 9750998d2c Fix Solaris GCC test using -x02 rather than -O2 2016-06-19 12:47:38 -04:00
Jeffrey Walton be70ec438d Tweak DEBUG_CXXFLAGS and RELEASE_CXXFLAGS for Solaris 2016-06-19 02:38:07 -04:00
Jeffrey Walton 694e486db3 Add G++ test for Solaris. Quote . Add HAVE_SYMBOLS to guard use of asan_symbolize 2016-06-19 00:40:04 -04:00
Jeffrey Walton b0e9f4bebd Quoted variabes with programs 2016-06-18 21:51:14 -04:00
Jeffrey Walton 35ec61b59c Add WANT_BENCHMARKS to speedup testing 2016-06-18 16:50:00 -04:00
Jeffrey Walton c8586d65fe Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS to -O3 and -O5 builds 2016-06-18 16:40:13 -04:00
Jeffrey Walton 2014dca116 Fix "((: == 0 : syntax error: operand expected (error token is "== 0 ")" 2016-06-18 16:36:29 -04:00
Jeffrey Walton 61003d64ee Fix illegal option on OS X 2016-06-18 13:45:56 -04:00
Jeffrey Walton f2bc155a09 Add info on full compiler pathname 2016-06-18 13:44:52 -04:00
Jeffrey Walton 73c8119141 Improve feature detection and reporting 2016-06-18 12:45:41 -04:00
Jeffrey Walton 0fb86cc55a Add additional instructions. Add output formatting 2016-06-18 06:01:05 -04:00
Jeffrey Walton 274bb6d2c2 Add additional flags to FILTERED_CXXFLAGS. Rearrange script to add more structure. Add comments on how to invoke script 2016-06-17 23:51:35 -04:00
Jeffrey Walton 7319206ab5 Change USE_FIPS_202_SHA3 message. Tweak Sun Studio CXXFLAGS for 12.2 through 12.5 2016-06-17 20:07:56 -04:00
Jeffrey Walton ec9cb41060 Add missing test case for Debug+CRYPTOPP_NO_UNALIGNED_DATA_ACCESS 2016-06-17 12:28:32 -04:00
Jeffrey Walton 220c53c081 Add missing CXXFLAGS for "Debug at -O3" 2016-06-17 06:56:18 -04:00
Jeffrey Walton 805a843977 Fix missing closing bracket 2016-06-17 04:49:03 -04:00
Jeffrey Walton abab66b184 Fix typo in CXXFLAGS="= ..." (trailing equal sign) 2016-06-17 03:00:28 -04:00
Jeffrey Walton b187a00818 Finish cut-over from shell test command ("[") to double brackets ("[["). 2016-06-17 01:38:05 -04:00
Jeffrey Walton f6e0da047e Finish cut-over from shell test command ("[") to double brackets ("[["). 2016-06-17 01:37:37 -04:00
Jeffrey Walton 96bc1d3a6b Finish cut-over from shell test command ("[") to double brackets ("[["). 2016-06-17 01:37:15 -04:00
Jeffrey Walton 8c8044e746 Moved from shell test command ("[") to double brackets ("[["). Added additional tests 2016-06-16 23:52:09 -04:00
Jeffrey Walton f5b0b64462 Prefer cpuinfo_max_freq over cpuinfo 2016-06-16 12:39:58 -04:00
Jeffrey Walton 4121365fb7 Fix missing cpu frequency on early ARM Mustang boards 2016-06-16 12:32:14 -04:00
Jeffrey Walton bfbb53d841 Reduce MEM_SIZE and CPU_FREQ defaults to make it easier to spot a bad value 2016-06-16 12:20:53 -04:00
Jeffrey Walton e68ca2791b Guard use of /proc/meminfo 2016-06-16 11:43:36 -04:00
Jeffrey Walton 29e9259386 Fix frequency when /sys/devices/.../cpuinfo_max_freq is missing on Linux 2016-06-16 11:22:44 -04:00
Jeffrey Walton 8c66d10205 Hide 'file' error message when its missing 2016-06-16 10:48:10 -04:00
Jeffrey Walton dcc13071a3 Hide ld.gold error message when its missing 2016-06-16 09:16:01 -04:00
Jeffrey Walton 492c130ff9 Fix ld.gold and valgrind detection 2016-06-16 09:14:52 -04:00
Jeffrey Walton 3336a548a6 Fix cpu and memory detection for Cygwin 2016-06-16 09:12:58 -04:00
Jeffrey Walton 9175594426 Add explicit ARMv7a/NEON test 2016-06-16 03:40:13 -04:00
Jeffrey Walton 9521a49cbb Increase ARM NEON testing using existing test cases 2016-06-16 03:25:24 -04:00
Jeffrey Walton 10bd31f1e5 Add -m32,-m64,-mx64 to filtered flags. Add test for ARM NEON 2016-06-16 02:36:43 -04:00
Jeffrey Walton 772d4e1129 Add additional tests for C++14 and Asan/UBsan 2016-06-15 20:20:07 -04:00
Jeffrey Walton 2ad2086b6b Add additional tests for C++17 and elevated warnings 2016-06-15 19:35:28 -04:00
Jeffrey Walton db614269de Declare default values for variables like HAVE_CXX03. Add additional tests for Clang 2016-06-15 18:25:33 -04:00
Jeffrey Walton a4f90454f8 Fix typos in HAVE_LDGOLD and HAVE_ARM_NEON 2016-06-15 04:05:01 -04:00
Jeffrey Walton 6f15b37494 Make Sun Studio 12.4 default compiler for testing 2016-06-15 03:55:49 -04:00
Jeffrey Walton 5ae5127f7c Add ld-gold linker testing 2016-06-15 03:24:15 -04:00
Jeffrey Walton 7e3ac44721 Add C++17 testing. Add Sun Studio 12.2-12.5 testing 2016-06-15 01:18:23 -04:00
Jeffrey Walton b1e3063f11 Add Git commit to branch output 2016-06-12 19:58:41 -04:00
Jeffrey Walton fb206e53d7 Added -march=native to "modern compiler and old hardware" tests. Added carry-less multiply to testing regime 2016-06-12 09:16:27 -04:00
Jeffrey Walton a21b7773ef Report Git branch being tested 2016-06-10 03:22:40 -04:00
Jeffrey Walton 454f528d3c Simplified IS_X86 and IS_X64 un SunOS. Add separator for benchmark tests 2016-06-10 03:05:34 -04:00
Jeffrey Walton b8c062247c Fix "missing ']'" 2016-06-09 18:59:23 -04:00
Jeffrey Walton 9a9f3510a0 Switch to variables for GREP and EGREP so they can be swapped out on Solaris 2016-06-09 16:49:52 -04:00
Jeffrey Walton f2499f5947 Re-order GCC 5.1 test. Remove duplicate CXX="" 2016-06-09 06:25:59 -04:00
Jeffrey Walton 5abdaa1cda Make Sun Studio 12.3 default test target. 12.4 is broke at the moment 2016-06-09 05:42:35 -04:00
Jeffrey Walton dd60cfc61a Add CXX to make invocation 2016-06-09 05:26:30 -04:00
Jeffrey Walton 0403fc747d Added Sun Studio testing (Issue 180) 2016-06-09 03:47:57 -04:00
Jeffrey Walton 370483c7aa Change guard for AES, RDRAND and RDSEED. There's no sense in performing the test if none of the features are available 2016-06-05 22:31:10 -04:00
Jeffrey Walton 5c311d7fab Remove -march=native from AES, RDRAND and RDSEED test 2016-06-05 22:25:08 -04:00
Jeffrey Walton 259f845bd4 Removed unneeded diagnostic 2016-06-05 18:21:05 -04:00
Jeffrey Walton cdd88236af Add test for modern compiler and old hardware 2016-06-05 18:15:47 -04:00
Jeffrey Walton 7b901f8edc Add -std=c++03, -std=c++11 and -std=c++14 to filtered flags 2016-06-03 18:02:30 -04:00
Jeffrey Walton 07406e2656 Fix Git merge butchering files. Add -march=armv8-a+crypto and -march=armv8-a+crc to filered flags 2016-06-03 17:55:54 -04:00
Jeffrey Walton 9b6d7ae156 Merge branch 'master' into arm-neon
Conflicts:
	cryptest.sh
2016-06-03 17:37:40 -04:00
Jeffrey Walton a4dd3ba97a Add code to respect user CXXFLAGS while removing flags we explicitly test 2016-06-03 17:33:41 -04:00
Jeffrey Walton 1ee66a8fc2 Merge arm-neon into master 2016-06-01 03:10:18 -04:00
Jeffrey Walton 08fb87417d Updated test script to print more platform information 2016-05-28 16:35:56 -04:00
Jeffrey Walton 3b583346ae Added test cases for ARM CRC and Crypto extensions 2016-05-28 15:59:14 -04:00
Jeffrey Walton b2c38f07a2 Fix ARm-64 detection 2016-05-28 10:19:21 -04:00
Jeffrey Walton a75abe0de2 Added test cases for ARM CRC and Crypto extensions 2016-05-28 10:10:03 -04:00
Jeffrey Walton 78144f3f42 Add test case for CRYPTOPP_USE_FIPS_202_SHA3 2016-04-24 00:00:32 -04:00
Jeffrey Walton 8119a03826 Add C++14 tests 2016-04-10 18:54:03 -04:00
Jeffrey Walton 34a34967ac Cleaned artifacts from testing. Move documentation clean rule to distclean 2016-03-29 03:47:33 -04:00
Jeffrey Walton 0a17197fa7 Removed -Wabi-tag. I'm not sure what its providing, and its too noisy with -std=c++03 2016-03-24 07:30:18 -04:00
Jeffrey Walton 0a1cd8bb97 Removed debug echo; whitespace 2016-03-24 04:57:42 -04:00
Jeffrey Walton 2052dd56f7 Added additional warnings for elevated warning test and GCC 5.1 and above 2016-03-24 01:48:44 -04:00
Jeffrey Walton ff24f4e66e Fixed copy/paste for NetBSD 2016-03-11 07:39:47 -05:00
Jeffrey Walton 3b2d462980 Fixed script for NetBSD testing 2016-03-11 07:32:36 -05:00
Jeffrey Walton 7e1c48d552 Fixed Bash shebang for OpenBSD 5.7 and friends 2016-03-04 22:05:07 -05:00
Jeffrey Walton f77e6fae32 Added artifact cleanup after testing but before reporting 2016-02-16 03:13:15 -05:00
Jeffrey Walton 6c4c0db3de Fix Linux swap detection for non-X86 environments 2016-02-13 20:31:28 -05:00
Jeffrey Walton 054edb6c38 Fix Linux CPU feature detection in Debian chroot 2016-02-13 20:25:14 -05:00
Jeffrey Walton 30929d49de Fix OOM kill on ARM devboards with multiple cores and adequate RAM 2016-02-11 17:42:58 -05:00
Jeffrey Walton e26b9eb251 Added test for removal of shared data directory 2016-02-06 20:27:06 -05:00
Jeffrey Walton 1f2af8fca9 Added test mofr 'make remove' 2016-02-05 16:39:06 -05:00
Jeffrey Walton db9e7ec819 Removed workarounds for compilers that responded to Asan and UBsan flags 2016-02-02 13:57:44 -05:00
Jeffrey Walton 82d8c4a8b5 Fixed Asan and UBsan detection code. It appears GCC package maintainers are not going to fix the missing libraries 2016-02-02 13:44:49 -05:00
Jeffrey Walton ff92dfc562 Tee output to test file 2016-02-01 13:24:07 -05:00
Jeffrey Walton 43ee9331e0 Fixed missing cpuinfo_max_freq on some Linux platforms 2016-02-01 02:31:30 -05:00
Jeffrey Walton 4274eaf030 Guarded use of asan_symbolize 2016-02-01 02:20:36 -05:00
Jeffrey Walton 062bcdfbca Added CPU frequency and asan_symbolize 2016-02-01 00:41:18 -05:00
Jeffrey Walton 5a2c92d6fe Added tests for X32 on multiarch systems 2016-01-26 03:57:43 -05:00
Jeffrey Walton 005d6fabf0 Added -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS to elevated warning tests 2016-01-24 17:50:05 -05:00
Jeffrey Walton 80134f2ef4 Updated script to stop dumping warnings to cout from cryptest-warn.txt. It was producing too mucgh output in some configurations due to -Wcast-align 2016-01-23 19:09:36 -05:00
Jeffrey Walton df1f68da84 Fixed OS X cpu detection 2016-01-22 17:18:50 -05:00
Jeffrey Walton a7e08c7e84 Improved cryptest.sh performance on Linux and OS X (Issue 117) 2016-01-22 17:08:53 -05:00
Jeffrey Walton 3a675a41c9 Fixed typo in UBsan detection 2016-01-12 06:57:05 -05:00
Jeffrey Walton c1536c6379 Added system info to log files 2016-01-12 06:52:17 -05:00
Jeffrey Walton f16bd03722 Fixed copy/paste for address sanitizer 2016-01-11 09:35:39 -05:00
Jeffrey Walton c299c4ba1a Fixed Asan and UBsan detection for non-x86 2016-01-08 15:11:21 -05:00
Jeffrey Walton 520b56c229 Fixed failed "make install" on OpenBSD 2016-01-05 09:48:46 -05:00
Jeffrey Walton 8f5ff96b0b Added "lean" target to cross compiles 2016-01-04 20:23:19 -05:00
Jeffrey Walton 9696b9e5e7 Added "lean" recipe that setups for for dead code stripping. Added test cases 2016-01-04 18:24:18 -05:00
Jeffrey Walton 748e79e87c Added full support for CRYPTOPP_DATA_DIR to test script. Changed makefile to use CPU_SPEED so users could change it from the environment 2016-01-03 17:32:11 -05:00
Jeffrey Walton 4a4cef7e58 Fixed "Integer exprssion required" in test for compiler 2016-01-02 11:23:23 -05:00
Jeffrey Walton 2a8f61278b Added additional status code checking 2016-01-02 04:24:48 -05:00
Jeffrey Walton fe0a260959 Increased warnings for elevated warning test. It still lacks -Wconversion... 2016-01-01 14:15:29 -05:00
Jeffrey Walton 096473101b Added elevated warning test for non-GCC compilers 2016-01-01 10:11:03 -05:00
Jeffrey Walton e32a6c0ad6 Added error count and warning count to output of script 2016-01-01 05:34:10 -05:00
Jeffrey Walton 0e26a3317a Added guards for Install test on Cygwin and MinGW. Added new file cryptest-install.txt for install log 2016-01-01 02:04:08 -05:00
Jeffrey Walton 5a60f4c35d Added 0 to capture make return code 2015-12-31 11:29:38 -05:00
Jeffrey Walton fe09adf736 Added test after make command to catch failed builds 2015-12-31 10:12:41 -05:00
Jeffrey Walton a0b078543a Added CRYPTOPP_DATA_DIR patch (Issue 82) 2015-12-25 23:50:28 -05:00
Jeffrey Walton 4cf8d660d2 Added additional Clang test on Linux when compiler is GCC 2015-12-25 02:02:40 -05:00
Jeffrey Walton db1c95401c Fixed test using Xcode default compiler. Fixed makefile convert recipe to include ASM files 2015-12-04 12:52:40 -05:00
Jeffrey Walton 401308d14e Guarded Intel multiarch with CXX03/CXX11. Fixed typo in export for testing under Xcode compiler 2015-12-03 18:17:54 -05:00
Jeffrey Walton ac5bc5729e Added PowerPC multiarch tests to cryptest.sh 2015-12-03 12:39:25 -05:00
Jeffrey Walton c08cac0cd1 Fixed failed compile on OS X using "-arch i386" due to Clang defining __ILP32__ for everything that is 32-bit. MSVC, GCC, ICC and Comeau were OK 2015-12-02 15:54:35 -05:00
Jeffrey Walton f90a940e2e Added additional flags to warning build, including -Wstrict-overflow -Wstrict-aliasing=3 and -Waggressive-loop-optimizations 2015-11-24 10:54:10 -05:00
Jeffrey Walton 298988a5b9 Crypto++ 5.6.3 check-in 2015-11-22 19:17:15 -05:00
Jeffrey Walton 62618fda97 Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding garbage to the end of some source files during drag and drop from guest to host.
This reverts commit c454358122.
2015-11-22 19:11:31 -05:00
Jeffrey Walton c454358122 Crypto++ 5.6.3 check-in 2015-11-20 19:15:33 -05:00
Jeffrey Walton c15be9178a Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:45:32 -05:00
Jeffrey Walton 48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00