File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set -eu
10
10
# The threshold is roughly computed as: `1.05 * <number of expected failures>`
11
11
# The extra 5% allows us to account for occasional timeouts. It is reviewed and
12
12
# updated whenever the Rust toolchain version is updated.
13
- EXPECTED=94
13
+ EXPECTED=82
14
14
THRESHOLD=$( expr ${EXPECTED} \* 105 / 100) # Add 5% threshold
15
15
16
16
if [[ $# -ne 1 ]]; then
@@ -29,6 +29,8 @@ NUM_FAILURES=${strarr[-1]}
29
29
# Print a message and return a nonzero code if the threshold is exceeded
30
30
if [[ $NUM_FAILURES -ge $THRESHOLD ]]; then
31
31
echo " Error: The number of failures from bookrunner is higher than expected!"
32
+ echo
33
+ echo " Found $NUM_FAILURES which is higher than the threshold of $THRESHOLD "
32
34
echo " This means that your changes are causing at least 5% more failures than in previous bookrunner runs."
33
35
echo " To check these failures locally, run \` cargo run -p bookrunner\` and inspect the report in \` build/output/latest/html/index.html\` ."
34
36
echo " For more details on bookrunner, go to https://model-checking.github.io/kani/bookrunner.html"
You can’t perform that action at this time.
0 commit comments