Bind protocol evidence to the TLA+ model
This commit is contained in:
parent
a31b883516
commit
b3c0f6d58a
1 changed files with 1281 additions and 56 deletions
15
tests/model-correspondence/run.sh
Executable file
15
tests/model-correspondence/run.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
cabal build \
|
||||
--offline \
|
||||
--build-log="${TMPDIR:-/tmp}/nuthatch-model-evidence-cabal.log" \
|
||||
exe:nuthatch-model-evidence
|
||||
export NUTHATCH_MODEL_EVIDENCE
|
||||
NUTHATCH_MODEL_EVIDENCE="$(
|
||||
cabal list-bin --offline exe:nuthatch-model-evidence
|
||||
)"
|
||||
exec node tests/model-correspondence/verify.mjs
|
||||
Loading…
Reference in a new issue