Commit Graph

339 Commits (df98f8c16b26a57729fe15a53ba81c336055c4d1)

Author SHA1 Message Date
Jeffrey Walton 306c88c857
Updated test script 2017-05-26 04:03:38 -04:00
Jeffrey Walton b65ec291ea
Updated test script 2017-05-25 00:04:45 -04:00
Jeffrey Walton 1be7d29af9
Update test script to exercise -DDISABLE_NATIVE_ARCH=1 2017-05-21 14:52:20 -04:00
Jeffrey Walton 5b81b5c66c
Updated test scripts for ARM NEON 2017-05-17 10:59:22 -04:00
Jeffrey Walton 64f1b50b7f
Add pclmulqdq for OS X disassembly tests 2017-04-24 03:05:37 -04:00
Jeffrey Walton 422600c5b8
Update scripts for testing 2017-04-23 07:38:25 -04:00
Jeffrey Walton 96cc3522ce
Add test for '-march=native' 2017-04-22 23:37:13 -04:00
Jeffrey Walton 4478e4cf39
Removed Unified ASM and Modern Compiler tests
Unified adds no value, and modern compilers are already tested
2017-04-22 21:22:32 -04:00
Jeffrey Walton f818d4e50f
Updated code generation tests 2017-04-22 16:27:37 -04:00
Jeffrey Walton ab1477c7a5
Add GCC 7 warning checks (Issue 383) 2017-03-01 23:40:47 -05:00
Jeffrey Walton 11f0186fd0
Add DragonFly support to cryptest.sh 2017-02-19 22:30:02 -05:00
Jeffrey Walton e757fad5ba
Add MOVBE test. Add guard for use of C++11 2017-01-27 13:48:01 -05:00
Jeffrey Walton aaf43e3f1d Updated variable names 2017-01-27 06:31:55 -05:00
Jeffrey Walton 9cc01defde
Add test for CRYPTOPP_INIT_PRIORITY=0
Once we made config.recommend the default, we needed to start testing the disabling of init_priority
2017-01-01 17:47:33 -05:00
Jeffrey Walton 61a2b285f1
Removed deprecated declaration workarounds
Commit bfbcfeec7c and Issue 345 was cleared some time ago. The warning suppression is no longer needed
2017-01-01 17:20:57 -05:00
klemens 5a5c633073 spelling fixes 2016-12-27 18:34:57 +01:00
Jeffrey Walton 06f79d904d
Remove vectorization test. This one test needs to be in its own script 2016-12-24 07:25:12 -05:00
Jeffrey Walton 716cd1fed9
Fix HAVE_CXX14/HAVE_CXX17 typo
This looks like a copy/paste error that has mostly gone unnoticed because many compilers lack support for C++17
2016-12-17 07:56:37 -05:00
Jeffrey Walton 05153d9740
Add test for vectorization opportunities 2016-12-14 15:24:29 -05:00
Jeffrey Walton 40230dd3bf
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70) 2016-12-03 00:32:07 -05:00
Jeffrey Walton d91244a657
Sync'd cryptest.sh. Cleared shadow variable warning in poly1305.cpp 2016-12-01 21:11:48 -05:00
Jeffrey Walton 1491b48691
Add Intel SHA extension specialized tests 2016-12-01 16:51:39 -05:00
Jeffrey Walton 315b4b0b3e
Add Intel SHA256 code generation tests (Issue 139) 2016-12-01 15:04:50 -05:00
Jeffrey Walton 6970ef702d
Add Intel SHA1 code generation tests 2016-11-30 21:13:45 -05:00
Jeffrey Walton 903bbe37d3
Reduce 32-bit minimum arch from i686 to i586 2016-10-27 02:29:11 -04:00
Jeffrey Walton 3a3c051013
Removed -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS 2016-10-26 05:32:29 -04:00
Jeffrey Walton 8cbb7a9500
$X86_OPTS → ${X86_OPTS[@]} 2016-10-26 04:24:41 -04:00
Jeffrey Walton 2cd0fc993a
Add GNUmake $strip to cleanup CXXFLAGS. Fols cryptest.sh tests 2016-10-26 03:53:28 -04:00
Jeffrey Walton 270a8d1cbb
Added SSE2/AESNI/RDRAND/RDSEED test 2016-10-26 03:10:52 -04:00
Jeffrey Walton 2d42b71cb0
Removed NO_UNALIGNED_DATA_ACCESS tests 2016-10-15 22:58:26 -04:00
Jeffrey Walton afcd051a14
Removed NO_BACKWARDS_COMPATIBILITY_562 tests 2016-10-15 22:42:41 -04:00
Jeffrey Walton 9c9d81ba6c
Switch to OPT_PIC for cryptest.sh 2016-10-14 15:29:17 -04:00
Jeffrey Walton 7ce3922b97
Add PIC_FLAG for minimum platform tests 2016-10-14 05:04:04 -04:00
Jeffrey Walton b5f5c4951d
Fix use of -fPIC in test script under Cygwin 2016-10-14 04:46:48 -04:00
Jeffrey Walton 11d36e9cf9
Simplify -fPIC tests 2016-10-14 04:42:22 -04:00
Jeffrey Walton 4b73230e36
Fix use of -fPIC in test script under Cygwin 2016-10-14 04:16:04 -04:00
Jeffrey Walton b885d6c9ad Add cryptest.sh to root directory
The move into TestScriipts is inconvenient. Others have already asked about it
2016-09-26 04:12:30 -04:00
Jeffrey Walton dca76d760d Delete cryptest.sh after 'git mv' failed to delete it
Git could not find it in its heart to actually delete the file. What a broken too.
2016-09-23 14:44:03 -04:00
Jeffrey Walton 2ac9ea1253 Guard use of '-march=native' in test script 2016-09-23 02:53:20 -04:00
Jeffrey Walton ddac25ead8 Fix GCC attempting to use -stdlib=libc++ 2016-09-22 19:33:06 -04:00
Jeffrey Walton f19e97ad5c Removed unneeded WANTED_CONFIG 2016-09-18 20:44:24 -04:00
Jeffrey Walton f57c4dced5 Moved config.h → config.compat; moved config.recommend → config.h
Also see http://groups.google.com/forum/#\!topic/cryptopp-users/bWcRw1XgJ_Q
2016-09-18 12:36:50 -04:00
Jeffrey Walton bad74bb3ab Add test for mismatched capabiliities between libcryptopp.a and cryptest.exe (Issue 283) 2016-09-18 09:28:47 -04:00
Jeffrey Walton 0d434fb419 Updated failure message 2016-09-18 03:03:07 -04:00
Jeffrey Walton 85241c94a8 Updated IS_X86 detection code 2016-09-18 02:46:36 -04:00
Jeffrey Walton f041382c55 Add tests with -march=i686 and -march=x86-64
-march=native effectively tests a maximum, while the two new tests verify the minimum
2016-09-18 01:00:23 -04:00
Jeffrey Walton d6d2307b78 Fix test for assert, std::min and std::max
OS X's grep is not matching them, but egrep matches them
2016-09-18 00:39:56 -04:00
Jeffrey Walton 587a9956fc Added test for use of std::min and std::max
This is due to Windows.h and NOMINMAX. Linux test fine, while Windows breaks. We need to use either the library's 'STDMIN(a,b)' or '(std::min)(a, b);'
2016-09-17 22:08:12 -04:00
Jeffrey Walton c207012123 Add cryptest.sh tests for includio of <assert.h> and <cassert>; and use of NDEBUG or assert\(...\) 2016-09-17 14:38:52 -04:00
Jeffrey Walton 5b50423439 Fix SunCC 5.13 and "illegal use of -xarch option, illegal value ignored: avx2_i" 2016-09-13 15:11:52 -04:00
Jeffrey Walton ed9fdfc0ab Whitespace and comments for SunCC work-arounds 2016-09-13 01:16:04 -04:00
Jeffrey Walton 6e6f5e4228 Fix -xarch=ssse4_2 typo 2016-09-13 00:52:15 -04:00
Jeffrey Walton 3c9096a85d Updated comments in cryptest.sh 2016-09-12 16:06:21 -04:00
Jeffrey Walton 3585190924 Fix SunCC 5.11 and 5.12 CXXFLAGS and -xarch options.
We were still catcing the "requires -xarch=sse4_2" message
2016-09-12 07:34:59 -04:00
Jeffrey Walton 28c3d685e3 Attempt to fix SunCC 5.11 and 5.12 flags and xarch options in a generic way 2016-09-12 05:08:29 -04:00
Jeffrey Walton bb2f54a668 Fix line 859: /1024/1024: syntax error: operand expected (error token is "/1024/1024") 2016-09-12 04:17:39 -04:00
Jeffrey Walton 199c00f30a Modify cryptest.sh to better align with SunCC 12.1 though 12.3, CPU feature flags, and compiler options 2016-09-11 08:59:28 -04:00
Jeffrey Walton b8adfde288 Removed 'make zip' test.
The recipe cleans our result file, which is not very useful if the Terminal window cannot be searched
2016-09-10 03:06:59 -04:00
Jeffrey Walton fd0c63b914 SUNCC_121_OR_ABOVE → SUNCC_510_OR_ABOVE 2016-09-09 18:12:06 -04:00
Jeffrey Walton 42715f4e83 Fix CPU feature flag detection under FreeBSD 2016-09-09 17:55:46 -04:00
Jeffrey Walton a571f1e214 Fix MAKE variable for FreeBSD 2016-09-09 17:38:16 -04:00
Jeffrey Walton 001f6fcc59 Discard output from 'make zip' 2016-09-09 14:36:55 -04:00
Jeffrey Walton a7f9356d8b Fix unzip test 2016-09-09 14:33:56 -04:00
Jeffrey Walton 39e0bb3d6a Add 'make zip' test to script 2016-09-09 14:15:19 -04:00
Jeffrey Walton 7f958575ea Squashed commit of the following:
commit 47c75c6e9397e240919207e50e5a611d3e2a2428
Merge: d7685c2 42085ee
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 20:20:39 2016 -0400

    Attempting to fix binary file merge conflict

commit d7685c2d946beecc419ddb6901c24e972c7cf3ee
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 16:39:23 2016 -0400

    Add vsClean.cmd to vs2010.zip

commit 4b96fdf1c551260da60eb021f324bcc3fcfec626
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 16:15:38 2016 -0400

    Add Keccak to vs2010.zip

commit 3962db73b7113ee805b46a5bb4da64e204fe6bb0
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 15:40:35 2016 -0400

    Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files

commit 44401448cbb6c8125b0f1ab4419c5b174408ffd7
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 15:39:23 2016 -0400

    Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files

commit 847bfccb8d5c388e67745dc8c69768fa503c5135
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 14:48:02 2016 -0400

    Whitespace cleanup

commit 46a37be6fef361704dcf852bc9a099ce0a1da4c8
Merge: aefb8f8 3697867
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 14:43:01 2016 -0400

    Merge 'master' into 'keccak'

commit aefb8f8ff2b81b967089c53b457a92fc6f7544d6
Merge: 51a828b 3c91d93
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 12:39:51 2016 -0400

    Merge 'master' into 'keccak'

commit 51a828b88e37a4d18abb00300cd5522bd0e110c5
Merge: 4152870 e7c7722
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:41:36 2016 -0400

    Merge 'master' into 'keccak'

commit 415287041e69ddadf5ca1f6fc794b87e145fc2db
Merge: 357a0c5 83ac849
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:34:45 2016 -0400

    Merge 'master' into 'keccak'

commit 357a0c510f75e4e58078b500dd469462e90f7650
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:13:32 2016 -0400

    Removed deprecated warning from SHA3 classes

commit 5cf9ec10d53b895b5a583e265e4e1298ed402195
Merge: 10ce0ed c2d60cc
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 09:43:15 2016 -0400

    Merge 'master' into 'keccak'

commit 10ce0ed4c5b8a1ea230062fd2dfdec0d87ec5b42
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 09:37:40 2016 -0400

    Add Keccak implementation based on early SHA3. Change SHA3 to NIST FIPS 202 conforming implementation
2016-09-08 20:24:25 -04:00
Jeffrey Walton e7c7722948 Add test for Debug OpenMP 2016-09-08 10:41:18 -04:00
Jeffrey Walton 66dc925f94 Add otion to test using config.h or config.recommend 2016-09-08 07:38:20 -04:00
Jeffrey Walton f0a4f74a23 Fix ld-gold detection under Debian 7 2016-09-07 12:40:53 -04:00
Jeffrey Walton f4c33f6969 Add tests for Bounds Checking sanitizer 2016-09-07 02:40:50 -04:00
Jeffrey Walton 47af829cdc Add MacPorts GCC 7.x test. Add MacPorts Clang 3.7, 3.8 and 3.9 test 2016-09-06 13:44:58 -04:00
Jeffrey Walton 023615ef61 Fixed test for empty MACPORTS_CXX 2016-09-06 08:04:17 -04:00
Jeffrey Walton 65f8c7478f Add IS_DARWIN check for MacPorts compilers 2016-09-06 07:44:39 -04:00
Jeffrey Walton 29e190343c Add additional MacPorts compiler tests under OS X 2016-09-06 07:43:14 -04:00
Jeffrey Walton 60911fe235 Add X86 ADX feature flag detection for adcx/adox 2016-09-04 16:25:11 -04:00
Jeffrey Walton 741d205592 Removed Clang version information from message since its not affected by the version 2016-09-04 13:22:37 -04:00
Jeffrey Walton cc1fe049cd Added test for "rotate immediate" code generation using SHA 2016-09-04 12:22:48 -04:00
Jeffrey Walton 77f57c758f Add additional ARM NEON mnemonics for disassembly check 2016-08-28 19:42:52 -04:00
Jeffrey Walton 15ec4ef713 Removed Solaris comments as things work as expected. Cleaned the object file of interest before compiling 2016-08-26 07:41:43 -04:00
Jeffrey Walton 81f868e6ff Add newline to echo for error and warning reports 2016-08-25 19:40:28 -04:00
Jeffrey Walton dbf65e82bf Fold CPU features and flags into single variables: X86_CPU_FLAGS and ARM_CPU_FLAGS. Consult the variables throughout the script 2016-08-25 19:26:48 -04:00
Jeffrey Walton 65e91a8caa Fix compile and code generation tests under Clang 3.4, 3.5 and 3.6 2016-08-25 01:25:33 -04:00
Jeffrey Walton eab45a1d66 Add disassembly tests for ARM NEON vector add and xor 2016-08-24 23:02:30 -04:00
Jeffrey Walton 4396f58f66 Account for Clang and use of ldp (load register pairs) 2016-08-24 22:09:15 -04:00
Jeffrey Walton ef6be6718b Add disassembly tests for ARM NEON 2016-08-24 21:15:55 -04:00
Jeffrey Walton 57a0059eb7 Improve CPU feature detection for X86 and ARM. Add tests for X86 Carryless Multiply; and X86 and ARM CRC32 2016-08-24 12:36:03 -04:00
Jeffrey Walton b1d7754ff7 Add disassembly tests for RDRAND and RDSEED 2016-08-24 08:10:37 -04:00
Jeffrey Walton 7c3967ad8f Add disassembly tests to verify some aspects of code generation. Fix SUNCC_CXXFLAGS flags. Fix "Quick Tests" undr Clang (Issues 245 and 246) 2016-08-24 06:19:42 -04:00
Jeffrey Walton 06a23f56fe Fix SunCC 12.2 test under Release builds 2016-08-22 17:02:24 -04:00
Jeffrey Walton 83b8d51487 Simplified logic to determine ARM platform flags 2016-08-22 08:17:31 -04:00
Jeffrey Walton a4be62a41f Fix -Os option. Add install results to test results 2016-08-22 06:27:35 -04:00
Jeffrey Walton 81e346ff35 Remove ubsan target from OpenMP test 2016-08-22 03:16:12 -04:00
Jeffrey Walton 4892ae25a7 Add debug and release test 2016-08-22 03:11:52 -04:00
Jeffrey Walton 65984d31e6 Remove duplicate dead code stripping 2016-08-22 03:03:59 -04:00
Jeffrey Walton 5fc7a8d201 Add OpenMP test 2016-08-22 02:50:08 -04:00
Jeffrey Walton 6997628f6d Add guards for HAVE_O3, HAVE_O5, HAVE_OS and HAVE_OFAST 2016-08-02 09:29:38 -04:00
Jeffrey Walton 49bf0112d8 Fix spelling error 2016-07-31 04:31:57 -04:00
Jeffrey Walton 3ffb1f3565 Fix failed self tests under -Ofast and -O5. It appears to be a SunCC compiler bug 2016-07-31 04:18:01 -04:00
Jeffrey Walton 8dffadf2e3 Fix USER_CXXFLAGS reporting 2016-07-30 11:37:10 -04:00
Jeffrey Walton b4726950c2 Add options for SunCC as arrary elements 2016-07-30 07:20:08 -04:00
Jeffrey Walton e6ad2579ca Remove extraneous whitespace from options 2016-07-30 06:32:44 -04:00