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:15:11 +0100
commit03ec16e94edb69b5beec1ae270504f5201a159b0 (patch)
tree83368393422afd60a2db5c3b5dbb81c9778d85bc
parent041312f0e4d7e715d8fdb25cf0839c743c3561fd (diff)
downloadgnutls_3_5_x-backport-fips-mode-changes.tar.gz
.gitlab-ci.yml: run tests under a FIPS140 mode simulationgnutls_3_5_x-backport-fips-mode-changes
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 ea2d3afc33..ec89b08a72 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -192,8 +192,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: