make it clear that we skipped 64-bit time_t tests

This commit is contained in:
Brent Cook
2015-10-18 10:36:31 -05:00
parent 0197a58969
commit c8c23ad8e3
4 changed files with 27 additions and 10 deletions

View File

@@ -11,6 +11,8 @@ LDADD += $(top_builddir)/ssl/libssl.la
LDADD += $(top_builddir)/crypto/libcrypto.la
LDADD += $(top_builddir)/tls/libtls.la
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
TESTS =
check_PROGRAMS =
EXTRA_DIST = CMakeLists.txt
@@ -259,15 +261,14 @@ check_PROGRAMS += rc4test
rc4test_SOURCES = rc4test.c
# rfc5280time
if SMALL_TIME_T
TESTS += rfc5280time_too_small
check_PROGRAMS += rfc5280time_too_small
rfc5280time_too_small_SOURCES = rfc5280time.c
else
TESTS += rfc5280time
check_PROGRAMS += rfc5280time
rfc5280time_SOURCES = rfc5280time.c
if SMALL_TIME_T
TESTS += rfc5280time.test
else
TESTS += rfc5280time
endif
EXTRA_DIST += rfc5280time.test
# rmdtest
TESTS += rmdtest

10
tests/rfc5280time.test Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
echo 1..2
TEST=./rfc5280time
if [ -e ./rfc5280time.exe ]; then
TEST=./rfc5280time.exe
fi
$TEST
echo "ok 1"
echo "ok 2 - rfc5280time_64-bit # SKIP this system is unable to represent times past 2038"