File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 4242fi
4343
4444# Get Kani root
45- SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
46- KANI_DIR=$( dirname " $SCRIPT_DIR " )
45+ if [[ $# -ne 1 ]]
46+ then
47+ echo " Required command-line argument <KANI-DIR> missing"
48+ exit 1
49+ fi
50+ KANI_DIR=$1
4751
4852echo " -------------------------------------------------------"
4953echo " -- Starting analysis of the Rust standard library... --"
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ main() {
304304 " $kani_path " list -Z list $unstable_args ./library --std --format json
305305 pushd scripts/kani-std-analysis
306306 echo " Running Kani's std-analysis command..."
307- ./std-analysis.sh
307+ ./std-analysis.sh $build_dir
308308 pip install -r requirements.txt
309309 echo " Computing Kani-specific metrics..."
310310 ./kani_std_analysis.py --kani-list-file $current_dir /kani-list.json
You can’t perform that action at this time.
0 commit comments