File tree Expand file tree Collapse file tree 5 files changed +18
-38
lines changed
test/libsolidity/smtCheckerTests Expand file tree Collapse file tree 5 files changed +18
-38
lines changed Original file line number Diff line number Diff line change @@ -431,12 +431,12 @@ jobs:
431
431
- checkout
432
432
- restore_cache :
433
433
keys :
434
- - dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
434
+ - dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
435
435
- run :
436
436
name : Install build dependencies
437
437
command : ./.circleci/osx_install_dependencies.sh
438
438
- save_cache :
439
- key : dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
439
+ key : dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
440
440
paths :
441
441
- /usr/local/bin
442
442
- /usr/local/sbin
@@ -459,7 +459,7 @@ jobs:
459
459
- checkout
460
460
- restore_cache :
461
461
keys :
462
- - dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
462
+ - dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
463
463
- attach_workspace :
464
464
at : build
465
465
- run : *run_soltest
@@ -475,7 +475,7 @@ jobs:
475
475
- checkout
476
476
- restore_cache :
477
477
keys :
478
- - dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
478
+ - dependencies-osx-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
479
479
- attach_workspace :
480
480
at : build
481
481
- run : *run_cmdline_tests
Original file line number Diff line number Diff line change 43
43
./scripts/install_obsolete_jsoncpp_1_7_4.sh
44
44
45
45
# z3
46
- wget https://github.com/Z3Prover/z3/releases/download/Z3 -4.8.5 /z3-4.8.5 -x64-osx-10.14.2 .zip
47
- unzip z3-4.8.5 -x64-osx-10.14.2 .zip
48
- rm -f z3-4.8.5 -x64-osx-10.14.2 .zip
49
- cp z3-4.8.5 -x64-osx-10.14.2 /bin/libz3.a /usr/local/lib
50
- cp z3-4.8.5 -x64-osx-10.14.2 /bin/z3 /usr/local/bin
51
- cp z3-4.8.5 -x64-osx-10.14.2 /include/* /usr/local/include
52
- rm -rf z3-4.8.5 -x64-osx-10.14.2
46
+ wget https://github.com/Z3Prover/z3/releases/download/z3 -4.8.6 /z3-4.8.6 -x64-osx-10.14.6 .zip
47
+ unzip z3-4.8.6 -x64-osx-10.14.6 .zip
48
+ rm -f z3-4.8.6 -x64-osx-10.14.6 .zip
49
+ cp z3-4.8.6 -x64-osx-10.14.6 /bin/libz3.a /usr/local/lib
50
+ cp z3-4.8.6 -x64-osx-10.14.6 /bin/z3 /usr/local/bin
51
+ cp z3-4.8.6 -x64-osx-10.14.6 /include/* /usr/local/include
52
+ rm -rf z3-4.8.6 -x64-osx-10.14.6
53
53
54
54
# evmone
55
55
wget https://github.com/ethereum/evmone/releases/download/v0.1.0/evmone-0.1.0-darwin-x86_64.tar.gz
Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ contract Simple {
7
7
for (i = 0 ; i < n; ++ i)
8
8
a[i] = i;
9
9
require (n > 1 );
10
- // Assertion is safe but current solver version cannot solve it .
10
+ // Assertion is safe but current solver version times out .
11
11
// Keep test for next solver release.
12
12
assert (a[n-1 ] > a[n-2 ]);
13
13
}
14
14
}
15
15
// ----
16
- // Warning: (267-290): Assertion violation happens here
16
+ // Warning: (261-284): Error trying to invoke SMT solver.
17
+ // Warning: (261-284): Assertion violation happens here
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ contract LoopFor2 {
14
14
c[i] = b[i];
15
15
++ i;
16
16
}
17
+ // Fails as false positive.
17
18
assert (b[0 ] == c[0 ]);
18
19
assert (a[0 ] == 900 );
19
20
assert (b[0 ] == 900 );
20
21
}
21
22
}
22
23
// ----
23
- // Warning: (290-309): Assertion violation happens here
24
- // Warning: (313-332): Assertion violation happens here
24
+ // Warning: (296-316): Assertion violation happens here
25
+ // Warning: (320-339): Assertion violation happens here
26
+ // Warning: (343-362): Assertion violation happens here
You can’t perform that action at this time.
0 commit comments