Skip to content

Commit 207dabd

Browse files
committed
More cleanup
1 parent bf9db47 commit 207dabd

File tree

18 files changed

+6
-167
lines changed

18 files changed

+6
-167
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
- name: Run tests
273273
# TODO: Customize compiletest to run custom kani. For now, just run a few cargo kani tests.
274274
run: |
275-
for dir in simple-lib simple-visualize build-rs-works simple-kissat; do
275+
for dir in simple-lib build-rs-works simple-kissat; do
276276
>&2 echo "Running test $dir"
277277
pushd tests/cargo-kani/$dir
278278
cargo kani
@@ -312,7 +312,7 @@ jobs:
312312
313313
- name: Run installed tests
314314
run: |
315-
for dir in simple-lib simple-visualize build-rs-works simple-kissat; do
315+
for dir in simple-lib build-rs-works simple-kissat; do
316316
>&2 echo "Running test $dir"
317317
docker run -v /var/run/docker.sock:/var/run/docker.sock \
318318
-w /tmp/kani/tests/cargo-kani/$dir kani-18-04 cargo kani

docs/src/build-from-source.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ In general, the following dependencies are required to build Kani from source.
1212
1313
1. Cargo installed via [rustup](https://rustup.rs/)
1414
2. [CBMC](https://github.com/diffblue/cbmc) (latest release)
15-
3. [CBMC Viewer](https://github.com/awslabs/aws-viewer-for-cbmc) (latest release)
16-
4. [Kissat](https://github.com/arminbiere/kissat) (Release 3.1.1)
15+
3. [Kissat](https://github.com/arminbiere/kissat) (Release 3.1.1)
1716

1817
Kani has been tested in [Ubuntu](#install-dependencies-on-ubuntu) and [macOS](##install-dependencies-on-macos) platforms.
1918

docs/src/install-guide.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ The following must already be installed:
1616

1717
* **Python version 3.7 or newer** and the package installer `pip`.
1818
* Rust 1.58 or newer installed via `rustup`.
19-
* `ctags` is required for Kani's `--visualize` option to work correctly. [Universal ctags](https://ctags.io/) is recommended.
2019

2120
## Installing the latest version
2221

docs/src/usage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ Common to both `kani` and `cargo kani` are many command-line flags:
2828
If used with `print`, Kani will only print the unit test to stdout.
2929
If used with `inplace`, Kani will automatically add the unit test to the user's source code, next to the proof harness. For more detailed instructions, see the [concrete playback](./experimental/concrete-playback.md) section.
3030

31-
* `--visualize`: _Experimental_, `--enable-unstable` feature that generates an HTML report providing traces (i.e., counterexamples) for each failure found by Kani.
32-
3331
* `--tests`: Build in "[test mode](https://doc.rust-lang.org/rustc/tests/index.html)", i.e. with `cfg(test)` set and `dev-dependencies` available (when using `cargo kani`).
3432

3533
* `--harness <name>`: By default, Kani checks all proof harnesses it finds.

kani-dependencies

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@ CBMC_MAJOR="6"
22
CBMC_MINOR="4"
33
CBMC_VERSION="6.4.0"
44

5-
# If you update this version number, remember to bump it in `src/setup.rs` too
6-
CBMC_VIEWER_MAJOR="3"
7-
CBMC_VIEWER_MINOR="10"
8-
CBMC_VIEWER_VERSION="3.10"
9-
105
KISSAT_VERSION="3.1.1"

scripts/check-cbmc-viewer-version.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

scripts/kani-regression.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ source "${KANI_DIR}/kani-dependencies"
2323
# Sanity check dependencies values.
2424
[[ "${CBMC_MAJOR}.${CBMC_MINOR}" == "${CBMC_VERSION%.*}" ]] || \
2525
(echo "Conflicting CBMC versions"; exit 1)
26-
[[ "${CBMC_VIEWER_MAJOR}.${CBMC_VIEWER_MINOR}" == "${CBMC_VIEWER_VERSION}" ]] || \
27-
(echo "Conflicting CBMC viewer versions"; exit 1)
2826
# Check if installed versions are correct.
2927
check-cbmc-version.py --major ${CBMC_MAJOR} --minor ${CBMC_MINOR}
30-
check-cbmc-viewer-version.py --major ${CBMC_VIEWER_MAJOR} --minor ${CBMC_VIEWER_MINOR}
3128
check_kissat_version.sh
3229

3330
# Formatting check

scripts/setup/al2/install_deps.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ python3 -m pip install autopep8
3131
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
3232

3333
${SCRIPT_DIR}/install_cbmc.sh
34-
${SCRIPT_DIR}/install_viewer.sh
3534
# The Kissat installation script is platform-independent, so is placed one level up
3635
${SCRIPT_DIR}/../install_kissat.sh
3736
${SCRIPT_DIR}/../install_rustup.sh

scripts/setup/al2/install_viewer.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

scripts/setup/macos/install_deps.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ brew install universal-ctags wget jq
2121
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
2222

2323
${SCRIPT_DIR}/install_cbmc.sh
24-
${SCRIPT_DIR}/install_viewer.sh
2524
# The Kissat installation script is platform-independent, so is placed one level up
2625
${SCRIPT_DIR}/../install_kissat.sh

0 commit comments

Comments
 (0)