Skip to content

Commit 85c3a4f

Browse files
committed
Enable test-use-path-condition-in-equations
1 parent 3a0f50a commit 85c3a4f

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

booster/test/rpc-integration/resources/use-path-condition-in-equations.k

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module USE-PATH-CONDITION-IN-EQUATIONS
3030
////////////////////////////////////////////////////////////////////////////////
3131
// Here the simplification's side condition is syntactically present //
3232
// in the path condition and is not checked. //
33-
// Result //
33+
// Result kore-rpc-booster and booster-dev: //
3434
// Stuck at depth 2 in state test1State2() //
3535
// after applying rules test1-init,test1-1-2 //
3636
////////////////////////////////////////////////////////////////////////////////
@@ -46,8 +46,9 @@ module USE-PATH-CONDITION-IN-EQUATIONS
4646

4747
////////////////////////////////////////////////////////////////////////////////
4848
// Here the simplification's side condition is implied by the path condition. //
49-
// Result: Stuck at depth 2 in state test2State2(), //
50-
// after applying rules test2-init, test2-1-2. //
49+
// Result kore-rpc-booster and booster-dev: //
50+
// Stuck at depth 2 in state test2State2(), //
51+
// after applying rules test2-init, test2-1-2. //
5152
////////////////////////////////////////////////////////////////////////////////
5253
rule [test2-init]: <k> test2Init() => test2State1() ... </k>
5354
<int> _ => ?X </int>
@@ -63,8 +64,8 @@ module USE-PATH-CONDITION-IN-EQUATIONS
6364
// Exactly like test2, but the function now has actual evaluators, rather than //
6465
// a simplification-based semantics. Using the SMT solver Booster determines //
6566
// that the condition of rule test3-1-2 is False. //
66-
// Result kore-rpc-booster: //
67-
// Stuck at depth in state test3State1() //
67+
// Result kore-rpc-booster and booster-dev: //
68+
// Stuck at depth 1 in state test3State1() //
6869
// after applying rules test3-init . //
6970
/////////////////////////////////////////////////////////////////////////////////
7071
rule [test3-init]: <k> test3Init() => test3State1() ... </k>
@@ -81,7 +82,7 @@ module USE-PATH-CONDITION-IN-EQUATIONS
8182
/////////////////////////////////////////////////////////////////////////////////
8283
// Similar to test3, but now there are two rules. Using the solver, Booster //
8384
// determines that the condition of rule test4-1-2 is False. //
84-
// Result: //
85+
// Result kore-rpc-booster and booster-dev: //
8586
// Stuck at depth 2 in state test2State3() //
8687
/////////////////////////////////////////////////////////////////////////////////
8788
rule [test4-init]: <k> test4Init() => test4State1() ... </k>

scripts/booster-integration-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ for dir in $(ls -d test-*); do
2828
name=${dir##test-}
2929
echo "Running $name..."
3030
case "$name" in
31-
"3934-smt" | "issue3764-vacuous-branch" | "use-path-condition-in-equations")
31+
"3934-smt" | "issue3764-vacuous-branch")
3232
continue
3333
;;
3434
"a-to-f" | "diamond")
@@ -40,7 +40,7 @@ for dir in $(ls -d test-*); do
4040
SERVER=$KORE_RPC_DEV ./runDirectoryTest.sh test-$name $@
4141
SERVER=$KORE_RPC_BOOSTER ./runDirectoryTest.sh test-$name $@
4242
;;
43-
"get-model" | "collectiontest" | "implies" | "implies2" | "implies-issue-3941" | "remainder-predicates")
43+
"get-model" | "collectiontest" | "implies" | "implies2" | "implies-issue-3941" | "remainder-predicates" | "use-path-condition-in-equations")
4444
SERVER=$BOOSTER_DEV ./runDirectoryTest.sh test-$name $@
4545
SERVER=$KORE_RPC_BOOSTER ./runDirectoryTest.sh test-$name $@
4646
;;
@@ -52,7 +52,7 @@ for dir in $(ls -d test-*); do
5252
SERVER=$BOOSTER_DEV ./runDirectoryTest.sh test-$name $@
5353
SERVER=$KORE_RPC_DEV ./runDirectoryTest.sh test-$name $@
5454
;;
55-
"use-path-condition-in-equations" | "compute-ceil" | "no-evaluator" | "non-linear-int-requires" | "get-model-subsorts" | "simplify")
55+
"compute-ceil" | "no-evaluator" | "non-linear-int-requires" | "get-model-subsorts" | "simplify")
5656
SERVER=$BOOSTER_DEV ./runDirectoryTest.sh test-$name $@
5757
;;
5858
"log-simplify-json")

0 commit comments

Comments
 (0)