Commit Graph

3200 Commits

Author SHA1 Message Date
Andrew Kent
fe5aa6642a
Update test_error_recovery.py (#1288)
disable certificate verification since test suite uses
self signed certs
2021-09-21 12:47:37 -07:00
Kevin Quick
8bd61befaa
Merge pull request #1287 from GaloisInc/doc_ci
Add some functionality comments to ci.sh
2021-09-20 09:41:38 -07:00
Kevin Quick
1e71818767
Add some functionality comments to ci.sh 2021-09-20 08:56:11 -07:00
Aaron Tomb
30af0baf55
Merge pull request #1284 from GaloisInc/at-prebuilt-solvers
Use prebuilt solver binaries from what4-solvers
2021-09-17 15:47:35 -07:00
Aaron Tomb
1bb2b540e9 Bump solver package snapshot version 2021-09-17 14:53:05 -07:00
Matthew Yacavone
ee8cbace8f
Merge pull request #1272 from GaloisInc/rpc/synchronous-interface
[RPC] Synchronous, typed interface for Python client
2021-09-17 15:22:23 -04:00
Aaron Tomb
6cd4383086 Fix solver dependency analysis 2021-09-17 12:05:29 -07:00
Aaron Tomb
b88544152c Check dynamic library dependencies of solvers 2021-09-17 11:21:33 -07:00
Aaron Tomb
94a32f9a04 Disable RPC tests on macOS
They’re stalling for unknown reasons, and aren’t as critical as the
others. Running the  Linux tests is the most critical.
2021-09-17 11:20:34 -07:00
Aaron Tomb
45c28c397d Switch back to GHC 8.10.2 for now
We're using GHC 8.6.5 for tests
2021-09-15 16:14:24 -07:00
Aaron Tomb
5e31bd0575 Attempt to fix build stall on Windows 2021-09-15 16:07:37 -07:00
Matthew Yacavone
8031ffb7dd improve docstrings around truthiness 2021-09-15 16:52:23 -04:00
Aaron Tomb
c537017abe Include abc in with-solvers tarballs 2021-09-15 13:11:30 -07:00
Aaron Tomb
bdb2c96817 Make solver package version configurable 2021-09-15 13:11:30 -07:00
Aaron Tomb
88d24a17a2 Always overwrite solvers when unzipping 2021-09-15 13:11:30 -07:00
Aaron Tomb
aa3426e316 Fix Yices executable name 2021-09-15 13:11:30 -07:00
Aaron Tomb
5fbb1752e6 Fix typo in solver binary archive names 2021-09-15 13:11:30 -07:00
Aaron Tomb
c8bfa205e8 Use prebuilt solver binaries from what4-solvers 2021-09-15 13:11:30 -07:00
brianhuffman
cb240cdd31
Merge pull request #1281 from GaloisInc/toSignedInteger
Add `toSignedInteger` primitive.
2021-09-14 16:41:49 -07:00
Matthew Yacavone
1187040463 Merge branch 'master' into rpc/synchronous-interface 2021-09-14 15:09:40 -04:00
Matthew Yacavone
ac6b2d177a tweak typing 2021-09-14 14:43:07 -04:00
Matthew Yacavone
0cafab8c6d get test_cryptol_api.py working again 2021-09-13 19:28:15 -04:00
Matthew Yacavone
fcccea6b49 change connect_sync to sync.connect 2021-09-13 18:56:46 -04:00
Matthew Yacavone
9ebb6d4db4 remove Solver offline method, fix mypy for test_smt.py 2021-09-13 18:33:59 -04:00
Matthew Yacavone
2ef2a35118 ensure __bool__ method of OfflineSmtQuery raises an exception 2021-09-13 18:11:50 -04:00
Matthew Yacavone
64bbbd7886 make sync SMT interface mirror cryptol REPL, revert async SMT interface 2021-09-13 17:51:07 -04:00
Brian Huffman
869deb1354 Update expected test output.
Some error messages changed due to the new definition in Cryptol.cry.
2021-09-10 20:08:43 -07:00
Brian Huffman
d1883caa6a Add primitive toSignedInteger. 2021-09-10 17:05:22 -07:00
Matthew Yacavone
3eabbf5a80 rn CryptolPython to CryptolValue 2021-09-09 17:22:22 -04:00
brianhuffman
5a668a4594
Merge pull request #1276 from GaloisInc/prettyprinter-fixes
Prettyprinter fixes
2021-09-05 13:21:20 -07:00
Brian Huffman
17260deff2 Update more expected test output. 2021-09-02 21:39:08 -07:00
Brian Huffman
b9f97e7790 Update expected output for check-docs. 2021-09-02 20:30:55 -07:00
Brian Huffman
f25536aab3 Update expected test output related to #1275 fix. 2021-09-02 17:34:12 -07:00
Brian Huffman
58723d074b Change linebreak heuristic for commaSepFill in the prettyprinter.
The combinator is altered so that if a list item cannot be laid
out on a single line, then we insert a linebreak before it so that
it starts on its own line.

Fixes #1275.
2021-09-02 17:32:36 -07:00
Brian Huffman
317b3c1543 Switch prettyprinter layout engine from layoutSmart to layoutPretty.
This avoids an exponential slowdown that occurs with `layoutSmart`
in combination with nested lists or lists of tuples.

Fixes #1274.
2021-09-02 16:39:03 -07:00
Andrew Kent
5a6f9a03ab
chore: bump argo submodule, fixes rpc CI failures (#1273) 2021-08-31 10:17:08 -07:00
Matthew Yacavone
3719bee70a update tests to use synchronous interface 2021-08-27 11:58:35 -04:00
Matthew Yacavone
b839aa1b41 add __bool__ method to CheckReport, add SmtResult classes 2021-08-27 11:55:29 -04:00
Matthew Yacavone
849d66dcc3 remove evaluate_expression from synchronous interface, document call 2021-08-27 11:15:38 -04:00
Matthew Yacavone
e1227af9a6 make synchronous interface not single-connection 2021-08-27 11:08:59 -04:00
Matthew Yacavone
cff0c1600a add synchronous, single-connection interface 2021-08-26 16:51:53 -04:00
Aaron Tomb
0eea2cb7e9
Merge pull request #1271 from GaloisInc/at-docker-nightly2
Build Docker images only on nightly runs.

They take a long time to build, and we generally don't need them more often than nightly.
2021-08-26 13:49:03 -07:00
Aaron Tomb
015cd7772e Build Docker images only on nightly runs 2021-08-25 14:47:38 -07:00
Matthew Yacavone
4f16b02e67
Merge pull request #1270 from GaloisInc/rpc/client-error-recovery
[RPC] Improve client error recovery
2021-08-25 15:07:32 -04:00
Andrei Stefanescu
052228e79a
Add arrayCopy, arraySet, arrayRangeEqual array primitives. (#1268)
* Add arrayCopy, arraySet, arrayRangeEqual array primitives. Add arrayRangeLookup and arrayRangeUpdate.

* Address comments.

* Address comments.

* Fix test.
2021-08-25 12:02:55 -07:00
Matthew Yacavone
191ac44b5c improve error recovery test 2021-08-25 14:41:05 -04:00
Matthew Yacavone
7089a835c3 bump argo, add test for improved client error recovery, bump version 2021-08-25 13:54:21 -04:00
Matthew Yacavone
b8bff7b9b3
Merge pull request #1269 from GaloisInc/rpc/record-bug
[RPC] Fix bug in Cryptol JSON -> Python for records, add test
2021-08-25 13:16:07 -04:00
Matthew Yacavone
0a5537e1c0 fix .result() bug in AES test, fix typo in DES test 2021-08-24 18:53:01 -04:00
Matthew Yacavone
c66ecedef2 add test_types.py 2021-08-24 18:52:18 -04:00