summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-01 10:17:41 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-02 13:13:18 +0100
commitae7cfbb001e27104cd0825261186ec1639963601 (patch)
tree51addcdaad07dc8982fcea4b8cc3996761ea75dc
parent55570a19499c3ccba6b989ac972fbc9b4fccb2d1 (diff)
downloadgnutls-ae7cfbb001e27104cd0825261186ec1639963601.tar.gz
.gitlab-ci.yml: run tests under a FIPS140 mode simulation
That is, in FIPS140-2/Fedora/x86_64 build, run tests under a normal run (when library is compiled with FIPS140-2 support but not enabled on run time), and also run tests under a run-time that simulates FIPS140-2 support. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c6b3524798..f8c36495b9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -170,8 +170,10 @@ FIPS140-2/Fedora/x86_64:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mkdir -p build && cd build &&
- ../configure --disable-non-suiteb-curves --enable-fips140-mode --disable-doc --disable-guile --disable-valgrind-tests &&
- make -j$(nproc) && make check -j$(nproc)
+ ../configure --disable-non-suiteb-curves --enable-fips140-mode --disable-doc --disable-full-test-suite --disable-guile --disable-valgrind-tests
+ - make -j$(nproc)
+ - GNUTLS_SKIP_FIPS_INTEGRITY_CHECKS=1 GNUTLS_FORCE_FIPS_MODE=1 make check -j$(nproc)
+ - make check -j$(nproc)
tags:
- shared
except: