From 6b5f1813c6a16f70e4f1a7a48c7e29cbbb2dc244 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Wed, 27 Nov 2024 11:18:15 +0100 Subject: [PATCH] chore(ci): add debug mode to shortint test script for easier debug later - only warn if no tests are run with the big parameters filter --- scripts/shortint-tests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/shortint-tests.sh b/scripts/shortint-tests.sh index 8aaa674c6..c7b0e1b90 100755 --- a/scripts/shortint-tests.sh +++ b/scripts/shortint-tests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -e +set -ex function usage() { echo "$0: shortint test runner" @@ -111,15 +111,16 @@ and not test(~smart_add_and_mul)""" --cargo-profile "${cargo_profile}" \ --package "${tfhe_package}" \ --profile ci \ - --features="${ARCH_FEATURE}",shortint,internal-keycache,experimental \ + --features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \ --test-threads "${n_threads_big}" \ + --no-tests=warn \ -E "${filter_expression_big_params}" if [[ "${multi_bit}" == "" ]]; then cargo "${RUST_TOOLCHAIN}" test \ --profile "${cargo_profile}" \ --package "${tfhe_package}" \ - --features="${ARCH_FEATURE}",shortint,internal-keycache,experimental \ + --features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \ --doc \ -- shortint:: fi