-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
481 changed files
with
10 additions
and
85,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
Test-crates | ||
============ | ||
|
||
This folder contains the scripts used to run and test Prusti on a set of popular Rust crates. | ||
A tool to run and test Prusti on a set of popular Rust crates. | ||
|
||
These scripts should be eventually replaced by a tool built upon the [rustwide project](https://github.com/rust-lang/rustwide). | ||
The tool is built upon [rustwide](https://github.com/rust-lang/rustwide). The `crates.csv` file contains the list of crates to test, specifying for each crate its name, version, and a "test kind" flag that configures how Prusti is tested. | ||
|
||
Possible values for the test kind, strictly ordered from the most permissive to the most restrictive kind, are the following: | ||
1. `Skip`: Completely ignore this crate. | ||
1. `NoCrash`: Test that `cargo-prusti` does not crash nor generate "invalid" errors. | ||
1. `NoErrors`: Test that `cargo-prusti` does not crash nor generate "internal/invalid" errors. | ||
1. `NoErrorsWithUnreachableUnsupportedCode`: Test that `cargo-prusti` does not crash nor generate "internal/invalid" when the `allow_unreachable_unsupported_code` flag is set. | ||
|
||
To make these tests fully reproducible one should also freeze the `Cargo.lock` in each crate. Without that, the dependencies used by the tested crate can change from time to time. In practice, this is usually not a big issue. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.