Commit Graph

199 Commits (a82e766925c3bcd11baa70d0b769b7cfe1606125)

Author SHA1 Message Date
Jeffrey Walton a82e766925
Make CMake configurable in test script 2018-11-18 18:54:57 -05:00
Jeffrey Walton b65ff5293a
Make CMake configurable in test script 2018-11-18 18:49:16 -05:00
Jeffrey Walton 959d81b236
Fix cryptest.sh are *-simd file rename 2018-11-11 10:03:31 -05:00
Jeffrey Walton 087f97edea
Remove patch file 2018-11-10 22:24:23 -05:00
Jeffrey Walton ffe63caae5
Add CXX awareness to CMake test script 2018-10-29 04:58:32 -04:00
Jeffrey Walton cab699d7c8
Bail early from test script if initial tests fail 2018-10-19 07:16:35 -04:00
Jeffrey Walton fb303f5180
Fix unset MAKE variable in test scripts 2018-09-26 16:22:19 -04:00
Jeffrey Walton 1d5eaf5268
Fix test scripts on ancient Bash
This showed up on Solaris 9 with Bash 2.05. Also see https://unix.stackexchange.com/q/468579/56041
2018-09-12 13:06:28 -04:00
Jeffrey Walton d0946abb0b
Use in cryptest-cmake.sh test 2018-09-10 09:00:25 -04:00
Jeffrey Walton fc5a73186f
Make config.sub and config.guess +w before download 2018-09-09 14:28:52 -04:00
Jeffrey Walton edbd57a41f
Make config.sub and config.guess +x after download 2018-09-09 12:00:54 -04:00
Jeffrey Walton a77f529ec2
Update cryptest-autotools.sh
Update config.sub and config.guess per GNU recommendations
2018-08-28 15:19:28 -04:00
Jeffrey Walton af17fdf91b
Add -Wno-deprecated for PPC tests due to vec_ld and vec_st 2018-08-22 10:12:24 -04:00
Jeffrey Walton c3dd09b93e
Update messages in cryptest.sh 2018-08-20 22:53:39 -04:00
Jeffrey Walton 87493974c7
Add Power8 VMULL tests to cryptest.sh 2018-08-20 22:48:38 -04:00
Jeffrey Walton ef58e71d77
Discard extra noise from Autotools test script 2018-08-18 08:28:32 -04:00
Jeffrey Walton c4ef77bcdb
Attempt to use glibtool if available 2018-08-02 23:21:59 -04:00
Jeffrey Walton 85ea200ff0 Revert "Copy setenv-ios.sh into TestScripts"
The copy happened the wrong way.

This reverts commit a6143862a3.
2018-08-02 00:28:35 -04:00
Jeffrey Walton a6143862a3
Copy setenv-ios.sh into TestScripts
This is one of the scripts we have in two places due to historical reasons. The current practice is to put them in TestScripts/
2018-08-02 00:13:13 -04:00
Jeffrey Walton 3753a4301d
Disable ASM for iOS simulators 2018-08-01 23:10:01 -04:00
Jeffrey Walton 89ec3c4a25
Guard for missing libtoolize 2018-08-01 13:57:35 -04:00
Jeffrey Walton 57521bd22a
Add calls to 'make clean' to ensure building artifacts 2018-07-31 19:53:40 -04:00
Jeffrey Walton 27968af8a9
Update to support IBM XLC and LLVM backend 2018-07-31 18:21:44 -04:00
Jeffrey Walton f36562218f
Add call to ls upon failure of script 2018-07-30 15:40:13 -04:00
Jeffrey Walton 12bb4866dd
Add check for setenv-*.sh scripts 2018-07-30 15:32:53 -04:00
Jeffrey Walton 138ce8f626
Cleanup Makefiles and Android and iOS scripts 2018-07-28 18:45:37 -04:00
Jeffrey Walton a411ac350b
Cleanup cryptest-autotools.sh script 2018-07-28 10:58:51 -04:00
Jeffrey Walton 4066d70731
Cleanup cryptest-autotools.sh script 2018-07-28 10:57:53 -04:00
Jeffrey Walton ef5a3d3905
Add autotools-clean and cmake-clean rules to GNUmakefile 2018-07-28 09:21:31 -04:00
Jeffrey Walton 884851cd9a
Update failure message 2018-07-27 19:17:25 -04:00
Jeffrey Walton ed91b278bb
Run autoupdate and libtoolize if available 2018-07-27 16:51:32 -04:00
Jeffrey Walton f201bc9493
Remove calls to format script 2018-07-27 16:10:43 -04:00
Jeffrey Walton a3efa68da7
Add call to autoupdate if available 2018-07-27 16:09:27 -04:00
Jeffrey Walton 14dd03544e
Update cryptest-automake test script for Solaris 2018-07-16 10:53:11 -04:00
Jeffrey Walton c2a9958d9c
Make m4/ directory during testing 2018-07-15 10:13:33 -04:00
Jeffrey Walton 437b2f9b7d
Set LC_ALL=C for Darwin Autotools testing 2018-07-15 09:35:26 -04:00
Jeffrey Walton 4e3a1ea962
Add ARMv8.4 cpu feature detection support (GH #685) (#687)
This PR adds ARMv8.4 cpu feature detection support. Previously we only needed ARMv8.1 and things were much easier. For example, ARMv8.1 `__ARM_FEATURE_CRYPTO` meant PMULL, AES, SHA-1 and SHA-256 were available. ARMv8.4 `__ARM_FEATURE_CRYPTO` means PMULL, AES, SHA-1, SHA-256, SHA-512, SHA-3, SM3 and SM4 are  available. 

We still use the same pattern as before. We make something available based on compiler version and/or preprocessor macros. But this time around we had to tighten things up a bit to ensure ARMv8.4 did not cross-pollinate down into ARMv8.1.

ARMv8.4 is largely untested at the moment. There is no hardware in the field and CI lacks QEMU with the relevant patches/support. We will probably have to revisit some of this stuff in the future.

Since this update applies to ARM gadgets we took the time to expand Android and iOS testing on Travis. Travis now tests more platforms, and includes Autotools and CMake builds, too.
2018-07-15 08:35:14 -04:00
Jeffrey Walton 9b4476ef7b
Update symbol script for Crypto++ 7.x 2018-07-11 16:16:32 -04:00
Jeffrey Walton 3b92255b8b
Add recipe to trim trailing whitespace 2018-07-01 21:45:01 -04:00
Jeffrey Walton 7bfeb4f3a2
Add recipe to call dos2unix if available 2018-07-01 21:38:47 -04:00
Jeffrey Walton 7fdb66d46e
Fix cryptest-cmake message 2018-06-30 04:30:58 -04:00
Jeffrey Walton 9a75d09ca4
Add cleanup function to cryptest-cmake.sh 2018-06-29 19:43:31 -04:00
Jeffrey Walton 598e371b8a
Add cryptest-cmake.sh 2018-06-29 19:28:16 -04:00
Jeffrey Walton 574097bd6f
Add cryptest-autotools.sh 2018-06-29 17:04:22 -04:00
Jeffrey Walton 3deb24b7de
Fix Android build after renaming defines for CMake
This change should have occurred during commits 188e0df650 and 5422f0c13a.
2018-05-05 21:46:17 -04:00
Jeffrey Walton 55071c49c1
Fix failed Android tests on Travis
This change should have been made at https://github.com/weidai11/cryptopp/commit/e2bc3b55caab
2018-04-26 21:35:01 -04:00
Jeffrey Walton e2bc3b55ca
Rename setenv-android.sh to setenv-android-gcc.sh (GH #637)
This makes room for a Clang/LLVM version of the script
2018-04-19 22:39:07 -04:00
Jeffrey Walton bdd0f02867
Make chenage-version.sh OS X friendly 2018-04-08 16:19:16 -04:00
Jeffrey Walton 4bb331f5d0
Post-release version increment 2018-04-08 15:58:25 -04:00
Jeffrey Walton 7065702ba1
Fix return codes from cryptest-ios.sh 2018-04-05 18:38:43 -04:00