Commit graph

212 commits

Author SHA1 Message Date
Samuel Hym
1367d5b855 Rewrite a test so that it passes also on the bytecode backend
Rewrite a test to shorten the lexical scope of the string it builds
because, in the bytecode backend, a variable is deemed live at least as
long as its lexical scope.

Reference: https://github.com/ocaml/ocaml/pull/10071
2022-12-22 23:08:14 +01:00
Simon Cruanes
6a415e963a
fix(cbor): use int64 as main int type 2022-07-06 22:27:24 -04:00
Simon Cruanes
b7d19e9dc5
test 2022-07-05 21:29:03 -04:00
Simon Cruanes
8b751754ba
test: compat 4.03 2022-07-04 22:16:46 -04:00
Simon Cruanes
feaa8ecf7d
test BV.init 2022-07-04 22:15:13 -04:00
Simon Cruanes
b24feaf2d6
strong BV test 2022-07-04 22:09:25 -04:00
Simon Cruanes
e01b758de8
more tests 2022-07-04 22:04:50 -04:00
Simon Cruanes
30cb40c71f
test: add strong tests for BV
we use the classic QCheck construction with a random list of operations, and
test:
- internal invariant after each operation
- same cardinal and content as reference implementation after each operation
2022-07-04 21:56:14 -04:00
Simon Cruanes
3dd63964fb
Merge branch 'master' into ccbv_bytes2 2022-07-04 14:35:25 -04:00
Simon Cruanes
3c5b2329bc tests belong in specific packages 2022-07-04 13:36:06 -04:00
Simon Cruanes
10865eaced reformat 2022-07-04 13:36:06 -04:00
Simon Cruanes
3e2379660e
move cbor tests into tests/ 2022-07-02 23:49:41 -04:00
Simon Cruanes
e242b004ad
use preproc to deal with 4.03 and others < 4.08 versions 2022-07-02 23:39:33 -04:00
Simon Cruanes
55b59b5b91
move more tests into testlib 2022-07-02 22:25:29 -04:00
Simon Cruanes
3b2cd786e2
finish removing qtest 2022-07-02 22:12:40 -04:00
Simon Cruanes
1e4a22fbf2
refactor: finish migration to qtest 2022-07-02 22:09:25 -04:00
Simon Cruanes
1111c0fa9a
wip: convert tests into testlib 2022-07-02 14:47:03 -04:00
Simon Cruanes
91ddccc782
compat 4.03 2022-07-02 01:08:59 -04:00
Simon Cruanes
b695918e99
move all core tests to new testlib 2022-07-02 00:29:25 -04:00
Simon Cruanes
49c06e93fa
wip: use testlib for tests 2022-06-30 22:28:19 -04:00
Simon Cruanes
369b208385
test: migrate part of CCList's tests to experiment with testlib 2022-06-30 21:15:16 -04:00
Simon Cruanes
ed31060d7d merge remaining tests as qtest, remove lwt stuff including bench_io 2015-09-16 19:46:29 +02:00
Simon Cruanes
507fe33086 cleanup 2015-09-16 19:26:56 +02:00
Simon Cruanes
eb1c9bc0be move many tests into their modules with qtest 2015-09-16 16:44:10 +02:00
Simon Cruanes
73c84e14cc add missing tests 2015-08-25 09:47:57 +02:00
Simon Cruanes
26b4b14979 fix build system 2015-03-30 23:33:09 +02:00
Simon Cruanes
f426a97a31 fix quick tests 2015-02-18 10:59:27 +01:00
Simon Cruanes
a5b78fd940 remove uses of |> in roseTree and its tests 2015-01-26 11:57:39 +01:00
Simon Cruanes
8f66f0d7d8 updated roseTree (cosmetic; printer; to_seq) and test 2015-01-26 11:55:59 +01:00
Simon Cruanes
b599e9941a Merge pull request #35 from Emm/rose_tree
Add experimental rose tree (thanks to @Emm)
2015-01-26 11:47:51 +01:00
Emm
9cd3617a69 Use CCFormat.sprintf to display a tree. 2015-01-26 08:14:01 +01:00
Simon Cruanes
8b34fb9ef1 details 2015-01-26 00:11:42 +01:00
Simon Cruanes
186f4a93ce use |> only with CCFun in tests 2015-01-25 23:19:20 +01:00
Simon Cruanes
feec3bf46f refactored heavily CCFuture (much simpler, cleaner, basic API and thread pool) 2015-01-25 23:08:31 +01:00
Simon Cruanes
7954687fab merged test_levenshtein with other tests 2015-01-25 23:07:40 +01:00
Emm
fdc6f28d55 Add experimental rose tree. 2015-01-25 22:06:48 +01:00
Simon Cruanes
f0b19b9980 remove a lot of stuff from containers.misc (see _oasis for details) 2015-01-25 20:07:29 +01:00
Simon Cruanes
61465fa19a remove cgi/; move sub-libraries to their own subdir each; mv everything into src/ 2014-12-16 23:41:59 +01:00
Simon Cruanes
78ff35154b removed useless Lwt-related module 2014-12-15 10:43:09 +01:00
Simon Cruanes
d0c3af5492 continue removal of CCGen/CCsequence 2014-12-13 03:20:14 +01:00
Simon Cruanes
5b9a7a2689 quick test for Lwt_actors 2014-11-20 01:11:20 +01:00
Simon Cruanes
510f63f921 firx quick tests; remove misc/ratTerm (already removed from _oasis) 2014-11-20 01:05:20 +01:00
Simon Cruanes
e9760976b4 fix warnings in test 2014-11-19 18:02:14 +01:00
Simon Cruanes
e74c85e3d2 more modern interface to Mixtbl; added a way to iterate on all bindings 2014-11-19 17:58:18 +01:00
Simon Cruanes
cad578840e import Mixtbl from its repository, into misc/ 2014-11-19 17:16:57 +01:00
Simon Cruanes
24b441579c removed many warnings 2014-11-08 01:28:42 +01:00
Simon Cruanes
d75317253d remove some junk from misc/ 2014-11-04 21:00:08 +01:00
Simon Cruanes
f67a3e115e fixed benchs/tests for 4.00 2014-09-30 17:12:02 +02:00
Simon Cruanes
11ff63d2e9 ensure compatibility with ocaml 4.00 2014-09-30 15:17:15 +02:00
Simon Cruanes
3a5f71a9e7 move benchmarks to benchs/ so they are separate from tests; use compiled oasis setup 2014-09-17 22:58:56 +02:00