Skip to content

Commit

Permalink
Merge pull request #301 from Nadrieril/rename-option
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored Aug 21, 2024
2 parents b1ca1ff + ebd2106 commit e212c17
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charon-pin
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This is the commit from https://github.com/AeneasVerif/charon that should be used with this version of aeneas.
962f26311ccdf09a6a3cfeacbccafba22bf3d405
34014046de827679e27967de482a33c02e0a865a
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
betree-llbc = charon.extractCrateWithCharon.${system} {
name = "betree";
src = ./tests/src/betree;
charonFlags = "--polonius --opaque=betree_utils";
charonFlags = "--polonius --opaque=crate::betree_utils";
craneExtraArgs.checkPhaseCargoCommand = ''
cargo rustc -- --test -Zpolonius
./target/debug/betree
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The test runner supports setting several options for each test.
- For crates, it will read the `crate_dir/aeneas-test-options` file.

In both cases it supports the same options. Typical options are:
- `charon-args=--polonius --opaque=betree_utils`: pass these arguments to `charon`;
- `charon-args=--polonius --opaque=crate::betree_utils`: pass these arguments to `charon`;
- `aeneas-args=-test-trans-units`: pass these arguments to `aeneas` for all backends;
- `[fstar] aeneas-args=-decreases-clauses -template-clauses`: pass these arguments to `aeneas` for
the `fstar` backend;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/betree/aeneas-test-options
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
charon-args=--polonius --opaque=betree_utils
charon-args=--polonius --opaque=crate::betree_utils
[!borrow-check] aeneas-args=-backward-no-state-update -test-trans-units -state -split-files
[coq] aeneas-args=-use-fuel
[fstar] aeneas-args=-decreases-clauses
2 changes: 1 addition & 1 deletion tests/src/hashmap.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ charon-args=--opaque=utils
//@ charon-args=--opaque=crate::utils
//@ [!borrow-check] aeneas-args=-state -split-files
//@ [coq] aeneas-args=-use-fuel
//@ [fstar] aeneas-args=-decreases-clauses
Expand Down

0 comments on commit e212c17

Please sign in to comment.