PR comments

This commit is contained in:
Kukovec
2022-05-31 15:45:54 +02:00
parent 6bc95409ce
commit 24ea13790d
2 changed files with 7 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
The script `runApalache.sh` runs Apalache against one of the model files in this repository. This document describes how to use it.
1. Get Apalache, by following [these](https://apalache.informal.systems/docs/apalache/installation/index.html) instructions. TLDR (recommended: build from source):
1. Get Apalache, by following [these](https://apalache.informal.systems/docs/apalache/installation/index.html) instructions. Summarized:
1. `git clone https://github.com/informalsystems/apalache.git`
2. `make package`

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
# Works in all cases except running from jar on Windows
EXE=$APALACHE_HOME/bin/apalache-mc
@@ -23,12 +25,12 @@ if ! [[ -f "$CFG" ]]; then
echo "write-intermediate: true" >> $CFG
fi
if [[ MC ]]; then
# Run 3c1f
$EXE $CMD $FLAGS MC_PBT_3C_1F.tla
else
if [[ "$MC" = false ]]; then
# Run 2c2f
$EXE $CMD $FLAGS MC_PBT_2C_2F.tla
else
# Run 3c1f
$EXE $CMD $FLAGS MC_PBT_3C_1F.tla
fi