- tests/*.log
- tests/*/*.log
-# We need a clean 32-bit fedora for testing. Note that this is also
-# a test for interoperability with openssl 1.0.x.
Fedora.x86:
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_X86_BUILD
script:
- - git submodule update --init --no-fetch
- ./bootstrap && mkdir -p build && cd build &&
CC="ccache gcc -m32" PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig/ ../configure --disable-gcc-warnings --host=i686-redhat-linux --target=i686-redhat-linux
--libdir=/usr/lib --disable-cxx --disable-non-suiteb-curves --enable-seccomp-tests --disable-full-test-suite --disable-doc --disable-guile &&
- make -j$(nproc) && make check -j$(nproc) &&
+ make -j$(nproc) && make check -j$(nproc) SKIP_DATEFUDGE_CHECK=1 &&
make pic-check
tags:
- shared
export TZ="UTC"
-# Check for datefudge
-TSTAMP=`datefudge "2006-09-23" date -u +%s || true`
-if test "${TSTAMP}" != "1158969600"; then
- echo "You need datefudge to run this test"
- exit 77
-fi
+. ${srcdir}/../scripts/common.sh
+
+check_for_datefudge
TMPFILE1=pkcs1-pad.$$.tmp
TMPFILE2=pkcs1-pad-2.$$.tmp
'
check_for_datefudge() {
+ # On certain platforms running datefudge date fails (e.g., x86 datefudge
+ # with x86-64 date app).
+ if test ${SKIP_DATEFUDGE_CHECK} = 1;then
+ return
+ fi
+
TSTAMP=`datefudge -s "2006-09-23" date -u +%s || true`
if test "$TSTAMP" != "1158969600" || test "$WINDOWS" = 1; then
echo $TSTAMP
export TZ="UTC"
# Check for datefudge
-TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null`
-if test "${TSTAMP}" != "1158969600"; then
- echo "You need datefudge to run this test"
- exit 77
-fi
+. "${srcdir}/../scripts/common.sh"
+
+check_for_datefudge
timeout 1800 datefudge "2012-09-2" "${srcdir}/testcompat-main-openssl"
fi
# Check for datefudge
-TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null`
-if test "${TSTAMP}" != "1158969600"; then
- echo "You need datefudge to run this test"
- exit 77
-fi
+. "${srcdir}/../scripts/common.sh"
+
+check_for_datefudge
cat /proc/cpuinfo|grep "model name"|grep "VIA Esther" >/dev/null 2>&1
if test $? = 0; then
exit 77
fi
-# Check for datefudge
-TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null`
-if test "${TSTAMP}" != "1158969600"; then
- echo "You need datefudge to run this test"
- exit 77
-fi
-
if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
fi
. "${srcdir}/../scripts/common.sh"
+check_for_datefudge
+
. "${srcdir}/testcompat-common"
PORT="${PORT:-${RPORT}}"