Skip to content

Commit

Permalink
chore(ci): add debug mode to shortint test script for easier debug later
Browse files Browse the repository at this point in the history
- only warn if no tests are run with the big parameters filter
  • Loading branch information
IceTDrinker committed Nov 27, 2024
1 parent 0898cdd commit 83ef54e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/shortint-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -e
set -ex

function usage() {
echo "$0: shortint test runner"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 83ef54e

Please sign in to comment.