Skip to content

Commit 4d414a6

Browse files
author
Leo Alt
committed
Update commandline tests
1 parent 8e81df1 commit 4d414a6

File tree

3 files changed

+10
-42
lines changed
  • test/cmdlineTests
    • model_checker_solvers_smtlib2
    • standard_model_checker_contracts_multi_source
    • standard_model_checker_solvers_smtlib2

3 files changed

+10
-42
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Warning: CHC: 1 verification condition(s) could not be proved. Enable the model checker option "show unproved" to see all of them. Consider choosing a specific contract to be verified in order to reduce the solving problems. Consider increasing the timeout per query.
2+
13
Warning: CHC analysis was not possible. No Horn solver was available. None of the installed solvers was enabled.
24

5+
Warning: BMC: 1 verification condition(s) could not be proved. Enable the model checker option "show unproved" to see all of them. Consider choosing a specific contract to be verified in order to reduce the solving problems. Consider increasing the timeout per query.
6+
37
Warning: BMC analysis was not possible. No SMT solver (Z3 or CVC4) was available. None of the installed solvers was enabled.

test/cmdlineTests/standard_model_checker_contracts_multi_source/output.json

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,6 @@ A.constructor()
4141
A.f(0)","severity":"warning","sourceLocation":{"end":231,"file":"Source","start":218},"type":"Warning"},{"component":"general","errorCode":"6328","formattedMessage":"Warning: CHC: Assertion violation happens here.
4242
Counterexample:
4343

44-
y = 0
45-
46-
Transaction trace:
47-
A.constructor()
48-
B.g(0)
49-
--> Source:5:7:
50-
|
51-
5 | \t\t\t\t\t\tassert(y > 0);
52-
| \t\t\t\t\t\t^^^^^^^^^^^^^
53-
54-
","message":"CHC: Assertion violation happens here.
55-
Counterexample:
56-
57-
y = 0
58-
59-
Transaction trace:
60-
A.constructor()
61-
B.g(0)","severity":"warning","sourceLocation":{"end":137,"file":"Source","start":124},"type":"Warning"},{"component":"general","errorCode":"6328","formattedMessage":"Warning: CHC: Assertion violation happens here.
62-
Counterexample:
63-
64-
x = 0
65-
66-
Transaction trace:
67-
A.constructor()
68-
A.f(0)
69-
--> Source:10:7:
70-
|
71-
10 | \t\t\t\t\t\tassert(x > 0);
72-
| \t\t\t\t\t\t^^^^^^^^^^^^^
73-
74-
","message":"CHC: Assertion violation happens here.
75-
Counterexample:
76-
77-
x = 0
78-
79-
Transaction trace:
80-
A.constructor()
81-
A.f(0)","severity":"warning","sourceLocation":{"end":231,"file":"Source","start":218},"type":"Warning"},{"component":"general","errorCode":"6328","formattedMessage":"Warning: CHC: Assertion violation happens here.
82-
Counterexample:
83-
8444
z = 0
8545

8646
Transaction trace:

test/cmdlineTests/standard_model_checker_solvers_smtlib2/output.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,12 @@
145145
(assert
146146
(forall ( (abi_0 |abi_type|) (crypto_0 |crypto_type|) (error_0 Int) (error_1 Int) (expr_7_0 Int) (expr_8_0 Int) (expr_9_1 Bool) (funds_2_0 Int) (state_0 |state_type|) (state_1 |state_type|) (state_2 |state_type|) (state_3 |state_type|) (this_0 Int) (tx_0 |tx_type|) (x_3_0 Int) (x_3_1 Int) (x_3_2 Int))
147147
(=> error_target_3_0 false)))
148-
(check-sat)"}},"errors":[{"component":"general","errorCode":"3996","formattedMessage":"Warning: CHC analysis was not possible. No Horn solver was available. None of the installed solvers was enabled.
148+
(check-sat)"}},"errors":[{"component":"general","errorCode":"5840","formattedMessage":"Warning: CHC: 1 verification condition(s) could not be proved. Enable the model checker option \"show unproved\" to see all of them. Consider choosing a specific contract to be verified in order to reduce the solving problems. Consider increasing the timeout per query.
149149

150-
","message":"CHC analysis was not possible. No Horn solver was available. None of the installed solvers was enabled.","severity":"warning","type":"Warning"},{"component":"general","errorCode":"8084","formattedMessage":"Warning: BMC analysis was not possible. No SMT solver (Z3 or CVC4) was available. None of the installed solvers was enabled.
150+
","message":"CHC: 1 verification condition(s) could not be proved. Enable the model checker option \"show unproved\" to see all of them. Consider choosing a specific contract to be verified in order to reduce the solving problems. Consider increasing the timeout per query.","severity":"warning","type":"Warning"},{"component":"general","errorCode":"3996","formattedMessage":"Warning: CHC analysis was not possible. No Horn solver was available. None of the installed solvers was enabled.
151+
152+
","message":"CHC analysis was not possible. No Horn solver was available. None of the installed solvers was enabled.","severity":"warning","type":"Warning"},{"component":"general","errorCode":"2788","formattedMessage":"Warning: BMC: 1 verification condition(s) could not be proved. Enable the model checker option \"show unproved\" to see all of them. Consider choosing a specific contract to be verified in order to reduce the solving problems. Consider increasing the timeout per query.
153+
154+
","message":"BMC: 1 verification condition(s) could not be proved. Enable the model checker option \"show unproved\" to see all of them. Consider choosing a specific contract to be verified in order to reduce the solving problems. Consider increasing the timeout per query.","severity":"warning","type":"Warning"},{"component":"general","errorCode":"8084","formattedMessage":"Warning: BMC analysis was not possible. No SMT solver (Z3 or CVC4) was available. None of the installed solvers was enabled.
151155

152156
","message":"BMC analysis was not possible. No SMT solver (Z3 or CVC4) was available. None of the installed solvers was enabled.","severity":"warning","type":"Warning"}],"sources":{"A":{"id":0}}}

0 commit comments

Comments
 (0)