mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 22:28:01 -05:00
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
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
function usage() {
|
function usage() {
|
||||||
echo "$0: shortint test runner"
|
echo "$0: shortint test runner"
|
||||||
@@ -111,15 +111,16 @@ and not test(~smart_add_and_mul)"""
|
|||||||
--cargo-profile "${cargo_profile}" \
|
--cargo-profile "${cargo_profile}" \
|
||||||
--package "${tfhe_package}" \
|
--package "${tfhe_package}" \
|
||||||
--profile ci \
|
--profile ci \
|
||||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,experimental \
|
--features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \
|
||||||
--test-threads "${n_threads_big}" \
|
--test-threads "${n_threads_big}" \
|
||||||
|
--no-tests=warn \
|
||||||
-E "${filter_expression_big_params}"
|
-E "${filter_expression_big_params}"
|
||||||
|
|
||||||
if [[ "${multi_bit}" == "" ]]; then
|
if [[ "${multi_bit}" == "" ]]; then
|
||||||
cargo "${RUST_TOOLCHAIN}" test \
|
cargo "${RUST_TOOLCHAIN}" test \
|
||||||
--profile "${cargo_profile}" \
|
--profile "${cargo_profile}" \
|
||||||
--package "${tfhe_package}" \
|
--package "${tfhe_package}" \
|
||||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,experimental \
|
--features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \
|
||||||
--doc \
|
--doc \
|
||||||
-- shortint::
|
-- shortint::
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user