Aaron Tomb
6d2709748e
Revert "Remove use of \ line continuations in tests"
...
This reverts commit 2dc5e03567
.
2021-09-22 15:17:13 -07:00
Aaron Tomb
2dc5e03567
Remove use of \ line continuations in tests
...
These trigger the problem described in issue #1290 . We should fix it,
but, in the meantime, it's nice to be able to use the portions of this
test that work. Testing the use of `\` continuations isn't the main
purpose of this test.
2021-09-22 10:40:10 -07:00
Aaron Tomb
0216c7e6ec
Revert changes to solvers used in regression tests
2021-09-17 16:23:46 -07:00
Aaron Tomb
39b562d1af
Use cvc4 instead of w4-cvc4 in some tests
...
This is an experiment to see whether it works better on Windows.
2021-09-17 16:23:46 -07:00
Aaron Tomb
67bdb1c538
Improve speed of negshift test
...
Uses Yices instead of Z3
2021-09-17 16:23:46 -07:00
Aaron Tomb
e19f5083e0
Fix expected output for modsys/T16 on Windows
2021-09-17 16:23:46 -07: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
17260deff2
Update more expected test output.
2021-09-02 21:39:08 -07:00
Brian Huffman
f25536aab3
Update expected test output related to #1275 fix.
2021-09-02 17:34:12 -07: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
Rob Dockins
1517f35afe
Fix more test output
2021-08-06 16:27:33 -07:00
Rob Dockins
097b8a22d2
Update test suite expected output to track changes
...
in the pretty printer code.
2021-08-06 14:18:12 -07:00
Rob Dockins
8e91fe5af9
Update regression test for 'ignore-safety'.
...
This tracks changes to the symbolic indexing primitives.
2021-08-03 09:15:42 -07:00
Rob Dockins
a1261b735e
Add a regression test for new REPL declarations.
2021-07-27 12:45:55 -07:00
Iavor Diatchki
31cd9fea43
The types of module parameters use constraints
...
Fixes #1240
2021-07-22 14:41:34 +03:00
Rob Dockins
c248320ca5
Change to use Z3 instead of yices for the all-sat test.
...
Despite the fact that Z3 is easily the slowest solver at this
task, it is the one that is reliably avaliable on the CI servers.
2021-07-20 11:05:12 -07:00
Rob Dockins
19d84745c7
Add a new regression test that better exercises multi-SAT queries.
2021-07-19 19:39:04 -07:00
Rob Dockins
6f9d9e72a6
Report the number of models found, if a multisat query returns more
...
than one model.
2021-07-19 19:39:04 -07:00
Rob Dockins
a3534f99b7
Update tests again
2021-06-30 16:34:17 -07:00
Rob Dockins
3ea59c7a69
Fix windows test output
2021-06-30 16:01:08 -07:00
Rob Dockins
52587711a3
rename some identifiers in the test for issue138
...
We need to avoid the new `down` keyword.
2021-06-30 10:21:50 -07:00
Rob Dockins
5a8a00fc81
Minor test suite updates
2021-06-30 10:19:39 -07:00
Rob Dockins
d1f945b20e
Add regression test for enumerations with explicit strides
2021-06-30 09:25:43 -07:00
Rob Dockins
4a68856a71
Add a test case for issue #1210
...
This bug was fixed in What4 via https://github.com/GaloisInc/what4/pull/127
which was included in What4 version 1.2.
Fixes #1210
2021-06-17 11:55:45 -07:00
Iavor S. Diatchki
142567d04c
Merge pull request #1186 from GaloisInc/layout
...
Layout
2021-05-10 14:12:04 -07:00
Brian Huffman
52c91817d9
Update test output due to changed cryptol prelude.
2021-05-06 14:01:27 -07:00
Brian Huffman
9b7e60b9f4
Add some regression tests for sortBy
to test stability of the sort.
2021-05-06 12:03:47 -07:00
Rob Dockins
a05b4eda7f
Add test case for issue 1191
2021-05-05 17:43:32 -07:00
Iavor Diatchki
f43d652337
Improve error message and some tests
2021-04-29 14:42:43 -07:00
Iavor Diatchki
54780379cf
Rename files to have correct OS extension
2021-04-22 16:39:37 -07:00
Iavor Diatchki
c16583230a
Print test-runner version, and always build it.
2021-04-22 14:04:15 -07:00
Iavor Diatchki
b572b086b0
Require version 0.3 of test-lib
2021-04-22 09:08:19 -07:00
Iavor Diatchki
0c65f5e82b
Change CI to use test-lib-0.3
and add a windows test for modsys/T18
2021-04-21 15:33:29 -07:00
Iavor Diatchki
aa7cce1668
Require version 0.3 of test-runner and a windows specific result for the test
2021-04-21 14:38:37 -07:00
Iavor Diatchki
1c175f5c85
Fix test (accounts for chanes in the standard library)
2021-04-20 14:53:21 -07:00
Iavor Diatchki
6818969db6
Fixes #1169
2021-04-20 14:47:32 -07:00
Rob Dockins
aac42f4991
Fix test suite
2021-04-13 10:27:17 -07:00
Rob Dockins
69ad34b231
Add test case for issue640
...
I think we've finally cracked the nut on this strictness bug.
Fixes #640
2021-04-13 10:27:17 -07:00
Rob Dockins
31ab387c19
Update the test for issue 211 to restore the old test behavior.
...
Also, test for looping computations in addition to `error` computations.
This doesn't let us cheat by eta-expanding the error, as we were
doing before.
2021-04-13 10:27:17 -07:00
Rob Dockins
b812cd5036
Temporary fix to the test for issue211.
...
We should either decide that the semantics of `#` requires it to be
strict in its arguments, or we should fix the definition.
2021-04-13 10:27:17 -07:00
Rob Dockins
b5454bce29
Fix test suite
2021-04-13 10:27:17 -07:00
Rob Dockins
234437af06
Remove our dependency on the random
package.
...
Instead, directly use the generators defined in `tf-random`.
This changes the generation algorithm for some types, so we
need to update the tests that depend on those concrete values.
Fixes #1102
2021-04-07 12:12:32 -07:00
robdockins
b72f80112c
Merge pull request #1152 from GaloisInc/ref-panic
...
Include REPL let bindings in the reference interpreter
2021-04-06 10:14:58 -07:00
robdockins
ebfcebcbc2
Merge pull request #1150 from GaloisInc/literallt-tests
...
Update the instances regression test to include `LiteralLessThan`
2021-04-06 10:14:28 -07:00
Rob Dockins
235fe78049
Include REPL let bindings in the reference interpreter.
...
Fixes #1133
2021-04-06 09:48:41 -07:00
Rob Dockins
808d696797
Update the instances regression test to include LiteralLessThan
.
2021-04-06 09:37:53 -07:00
Rob Dockins
3258bb1258
Make the issue148 test less sensitive to solver versions
2021-04-06 09:36:59 -07:00
Rob Dockins
8915ee3899
Teach the typechecker a bit more about exponents.
...
This fixes issue #734 , and partially addresses #930 .
The basic issue with 734 was that the solver was chosing
spurious counterexamples for the exponent function; in particular,
models where the output was not at least 1. The fairly restricted
axiom we add here just says that the exponent function is at least
as large as its base for positive inputs.
2021-04-06 09:28:31 -07:00
Iavor Diatchki
277a65781c
Changes to make new command line scope and browsing work with the current
...
parameterzied modules.
Some of this is a bit of a hack, but that code would change with the new
parameterized modules, so the hack is temporary.
2021-04-05 17:09:29 -07:00
Iavor Diatchki
501f884353
Merge branch 'master' into nested-modules
2021-04-01 15:23:02 -07:00