-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Resolves #3891 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Co-authored-by: Michael Tautschnig <[email protected]>
- Loading branch information
1 parent
ac8e0b9
commit 006e5da
Showing
6 changed files
with
24 additions
and
39 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
tests/script-based-pre/cargo_playback_array/playback_target.sh
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/script-based-pre/cargo_playback_array/sample_crate/Cargo.toml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...based-pre/cargo_playback_array/config.yml → ...cript-based-pre/playback_array/config.yml
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,4 +1,4 @@ | ||
# Copyright Kani Contributors | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
script: playback_target.sh | ||
expected: playback_target.expected | ||
script: playback_array.sh | ||
expected: playback_array.expected |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
# Copyright Kani Contributors | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
set -e | ||
set -o pipefail | ||
set -o nounset | ||
|
||
cleanup() | ||
{ | ||
rm ${RS_FILE} | ||
} | ||
trap cleanup EXIT | ||
|
||
RS_FILE="modified.rs" | ||
cp array.rs ${RS_FILE} | ||
|
||
echo "[TEST] Generate test..." | ||
kani ${RS_FILE} -Z concrete-playback --concrete-playback=inplace || true | ||
|
||
echo "[TEST] Run test..." | ||
kani playback -Z concrete-playback ${RS_FILE} || true |