Skip to content

Commit

Permalink
Change how harnesses are specified in cargo-kani tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbembenek-aws committed Dec 15, 2022
1 parent 545aba2 commit b11edcd
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/cargo-kani/stubbing-do-not-resolve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ other_crate1 = { path = "other_crate1" }
other_crate2 = { path = "other_crate2" }

[package.metadata.kani]
flags = { enable-unstable=true, enable-stubbing=true, harness="my_mod::harness" }
flags = { enable-unstable=true, enable-stubbing=true }
2 changes: 1 addition & 1 deletion tests/cargo-kani/stubbing-extern-path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
other_crate = { path = "other_crate" }

[package.metadata.kani]
flags = { enable-unstable=true, enable-stubbing=true, harness="my_mod::harness" }
flags = { enable-unstable=true, enable-stubbing=true }
2 changes: 1 addition & 1 deletion tests/cargo-kani/stubbing-foreign-method/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
other_crate = { path = "other_crate" }

[package.metadata.kani]
flags = { enable-unstable=true, enable-stubbing=true, harness="main" }
flags = { enable-unstable=true, enable-stubbing=true }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
other_crate = { path = "other_crate" }

[package.metadata.kani]
flags = { enable-unstable=true, enable-stubbing=true, harness="main" }
flags = { enable-unstable=true, enable-stubbing=true }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
other_crate = { path = "other_crate" }

[package.metadata.kani]
flags = { enable-unstable=true, enable-stubbing=true, harness="main" }
flags = { enable-unstable=true, enable-stubbing=true }

0 comments on commit b11edcd

Please sign in to comment.