File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ run_mutants() {
56
56
57
57
if [ ! -f " $mutant_file " ]; then
58
58
echo " No mutants found for $package "
59
- return
59
+ return 0
60
60
fi
61
61
62
62
local regex_pattern=$( sed ' s/[][()\.^$*+?{}|]/\\&/g' " $mutant_file " | paste -sd' |' -)
@@ -70,15 +70,17 @@ run_mutants() {
70
70
--output " $output_dir " \
71
71
--test-tool=nextest \
72
72
--package " $package " \
73
- -- --all-targets --test-threads 1
73
+ -- --all-targets --test-threads 1 || true
74
74
75
75
echo $? > " ${output_dir} /exit_code.txt"
76
76
else
77
77
echo " Skipping $package , only $mutant_count mutants (threshold: $threshold )"
78
78
fi
79
+
80
+ return 0
79
81
}
80
82
81
83
# Run mutants for each wanted package
82
- run_mutants " stacks-signer" 500 " ./stacks-signer_mutants"
83
- run_mutants " stacks-node" 540 " ./stacks-node_mutants"
84
- run_mutants " stackslib" 72 " ./stackslib_mutants"
84
+ run_mutants " stacks-signer" 500 " ./stacks-signer_mutants" || true
85
+ run_mutants " stacks-node" 540 " ./stacks-node_mutants" || true
86
+ run_mutants " stackslib" 72 " ./stackslib_mutants" || true
You can’t perform that action at this time.
0 commit comments