kinichiro
58eb645fdb
Copy libc compat files rather than adding into the repository
...
- remove the CP_LIBC files from repo
- move tests/memmem.c to tests/compat/
2017-01-28 03:40:38 +09:00
kinichiro
adb94725ae
Add regress rsa_test
2017-01-25 21:31:51 +09:00
Brent Cook
fa149b8c8c
updates for new tests and layout
2017-01-22 20:00:52 -06:00
Brent Cook
4cb675e2d9
pass through errors for tlstest and ssltest
2017-01-16 10:59:15 -06:00
Brent Cook
c53c23c5d8
enable tlstest on win32
2017-01-15 16:00:17 -06:00
Brent Cook
dbd5fb28ec
add windows versions of socketpair / pipe
2017-01-15 16:00:16 -06:00
Brent Cook
dfb6b11e5a
include pipe2/socketpair compat for macOS
2017-01-15 16:00:16 -06:00
Brent Cook
fa20dae329
start to enable tlstest for portable
...
Disabled on Windows for now due to pipe2/socketpair support.
2017-01-15 14:52:18 -06:00
Brent Cook
c691459502
fix static mingw builds, platform LDADD needs to come at the end
2017-01-09 02:22:26 -06:00
kinichiro
5a35108648
Add regression test ssl_versions
2017-01-06 09:05:59 +09:00
Brent Cook
c4165cc210
fix static test link failures on OS X
2016-11-13 12:57:34 -06:00
kinichiro
04150e635c
fix cmake to link static crypto library for regression tests
2016-11-07 00:07:51 +09:00
Brent Cook
4e221632b1
link regression tests fully statically
2016-11-06 09:10:25 -06:00
kinichiro
f51c1b3886
Fix for tests on Visual Studio
...
- always link static ssl library for tests
- copy DLLs for openssl.exe after building tests
- add functions to crypto.def
2016-11-06 22:21:58 +09:00
kinichiro
5f187770f3
Add curve25519 to portable
2016-11-06 04:57:23 +09:00
Brent Cook
7770e4f2e4
implement support for hiding symbols in libtls / libssl
2016-11-06 00:24:12 +09:00
kinichiro
14905877a0
Enable tests on Visual Studio
...
- add patch for aeadtest.c to undef IN
- add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo()
- define STDERR_FILENO in unistd.h to build pkcs7test.c
- add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio
- modify to pass test data file as an argument (aeadtest, evptest)
- add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa)
- do not build pidwraptest on MSVC
- fix some indentations
2016-10-30 21:40:24 -05:00
kinichiro
5ea2a55cc7
enable tls_ext_alpn regression test
...
- add tls_ext_alpn entry for automake and cmake
- add tests/tls_ext_alpn* to .gitignore
2016-08-30 00:57:10 +09:00
kinichiro
fef54aef36
Set _PATH_SSL_CA_FILE to the tarball internal path for regression tests
...
- let tests to use the cert.pem in the tarball, for both automake and cmake.
- put this definition out of "if(ENABLE_EXTRATESTS)" since this can be shared by all tests.
2016-08-12 16:27:18 +09:00
Geoff Beier
36aafbb241
Set _PATH_SSL_CA_FILE to either CMAKE_INSTALL_PREFIX or OPENSSLDIR for the OCSP tests so that OCSP tests can be executed on a system without /etc/ssl/cert.pem
2016-08-01 21:28:53 -04:00
kinichiro
23083e7724
include OCSP test script
2016-07-05 20:33:16 +09:00
Brent Cook
aab671088d
add OCSP test
2016-07-04 23:29:39 -05:00
Brent Cook
552817b77f
Land #192 , fix fix ld warning "attempted multiple inclusion of file" on Solaris
2016-05-02 02:03:03 -05:00
kinichiro
02e1cc4df1
fix ld warning "attempted multiple inclusion of file" on Solaris
...
- To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
2016-04-21 16:12:47 +09:00
kinichiro
bda62f7fe4
add cmake build options
...
- add cmake build options as configure provides
* -DENABLE_ASM (default ON)
* -DENABLE_EXTRATESTS (default OFF)
* -DENABLE_NC (default OFF)
* -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl)
- add biotest and pidwraptest if ENABLE_EXTRATESTS is ON
- add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin
to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
2016-04-14 15:16:52 +09:00
Brent Cook
34bf322e6e
Land #184 , execute tests that require srcdir environment variable with cmake
2016-04-09 11:49:53 -05:00
kinichiro
cf45f2bdfd
execute tests that require srcdir environment variable with cmake
...
- uncomment procedures for aeadtest, evptest, pq_test, ssltest, testdsa and testrsa
- add set_tests_properties() for setting environment variable srcdir
- tweak openssl path in ssltest.sh, testdsa.sh, testenc.sh and testrsa.sh
2016-04-05 10:02:35 +09:00
kinichiro
3207606f11
fix cmake on HP-UX
...
- CMakeLists.txt
* add OS specific compiler flags and library
* add checking size of time_t
* add checking memmem()
- tests/CMakeLists.txt
* add if(HAVE_MEMMEM) for explicit_bzero
* add checking SMALL_TIME_T for rfc5280time
- crypto/CMakeLists.txt
* add getentropy_hpux.c
- tls/CMakeLists.txt
* fix checking strsep
2016-04-04 14:27:43 +09:00
Brent Cook
d0ff644edc
package pidwraptest.sh script
2016-01-03 21:29:35 -06:00
Brent Cook
2c168b7127
move rfc5280time to rfc5280time_small
...
Having the same name as the executable confuses the driver, and it runs
the wrong thing.
2015-10-18 11:18:23 -05:00
Brent Cook
c8c23ad8e3
make it clear that we skipped 64-bit time_t tests
2015-10-18 10:36:31 -05:00
Brent Cook
c8918dd0be
include warnings about small time_t
2015-10-17 23:32:21 -05:00
Brent Cook
047926e06f
updates for ASN.1 time handling
2015-10-06 06:21:17 -05:00
Brent Cook
53f8663976
add asn1time to cmake tests
2015-09-28 17:49:46 -05:00
Brent Cook
9af6ff9a3a
add asn1time test
2015-09-28 17:33:58 -05:00
Brent Cook
09e535e41d
update path to openssl(1) in testssl wrapper
2015-09-22 08:56:36 -05:00
Brent Cook
4ce5342e86
remove SHA-0 from cmake builds
2015-09-17 05:39:55 -05:00
Brent Cook
92a04bc1ea
SHA-0 is gone, remove test
2015-09-16 02:13:10 -05:00
Brent Cook
eae0e9d3a4
Call the correct script for pidwraptest.sh.
...
This optional test was not reporting the correct results, noticed
retesting against FreeBSD 11-current.
2015-09-16 01:43:59 -05:00
Brent Cook
bcd3b2fde6
more cmake tests
2015-09-12 08:08:25 -05:00
Brent Cook
854f4f69af
add 'nc' to the distribution as an example of libtls client and server
2015-09-12 08:08:24 -05:00
Brent Cook
34bfb6ecb5
add new tests
2015-09-12 05:18:47 -05:00
Brent Cook
b521a76a46
disable current broken cmake tests
2015-07-22 11:42:34 -05:00
Brent Cook
dd0704b176
s/CMakeFiles/CMakeLists/, start porting test scripts
2015-07-22 11:40:16 -05:00
Brent Cook
a9122f74e0
add cmake tests
2015-07-21 22:21:14 -05:00
Brent Cook
b7f699ab34
add cipher_list test
2015-06-29 22:49:37 -05:00
Brent Cook
b9f1b83a79
update for mdc2 removal
2015-06-20 10:40:04 -05:00
Brent Cook
8eec2f485a
use correct binary on native windows builds
2015-06-05 04:50:17 -05:00
Brent Cook
abd0688b18
distcheck fixes
2015-05-06 22:53:28 -05:00
Brent Cook
51bfd4921a
add app tests from regress/usr.bin/openssl
...
These are added directly rather than imported by update.sh since they
require local modifications and its not worth breaking everyone's git
forks yet to import them through cvs2git.
2015-05-06 22:39:32 -05:00