Commit Graph

196 Commits

Author SHA1 Message Date
Joe Thornber
48ae5beead [funtional-tests] remove old code 2017-09-14 15:14:56 +01:00
Joe Thornber
9bc5d9fbfe [functional-tests] Some work on thin-check and thin-dump 2017-09-14 11:47:23 +01:00
Joe Thornber
f27b1e36c6 [functional-tests] Remove redundant library load in run-tests 2017-09-14 11:45:49 +01:00
Joe Thornber
f756ff02df [functional tests] Fix bug in return type of parser-combinators/eof 2017-09-14 11:44:01 +01:00
Joe Thornber
111d64ec9e [functional-tests] Change btree code to use a spine 2017-09-14 11:41:26 +01:00
Joe Thornber
205caab84c [functional-tests] move thin-check and thin-xml into a sub dir 2017-09-14 11:39:38 +01:00
Joe Thornber
40b257d42e [functional-tests] change btree to use the bcache 2017-09-08 15:51:33 +01:00
Joe Thornber
3b7320cd84 [functional-tests] a few more bcache tests 2017-09-08 09:20:16 +01:00
Joe Thornber
6a054e35df [functional-tests] Scheme interface to the block cache. 2017-09-07 15:40:25 +01:00
Joe Thornber
7825380ffe [functional-tests] recode the block cache in C 2017-09-07 15:39:55 +01:00
Joe Thornber
c70aad52e6 [functional-tests] add dlambda to utils 2017-09-04 12:31:39 +01:00
Joe Thornber
c2b5730d6b [functional-tests] print help if there's a bad command line 2017-08-31 12:22:42 +01:00
Joe Thornber
fe1f46ae07 whitespace 2017-08-31 10:09:58 +01:00
Joe Thornber
9e096fa982 [functional-tests] Improve help for run-tests 2017-08-31 09:37:21 +01:00
Joe Thornber
93c8ebf896 [functional-tests] s/-/_/ in tag names 2017-08-30 15:15:12 +01:00
Joe Thornber
d3c8ae4f35 [functional-tests] era_restore tests 2017-08-30 15:14:10 +01:00
Joe Thornber
6616a21891 [functional-tests] era_check tests 2017-08-30 14:30:11 +01:00
Joe Thornber
516afc8ed6 [functional-tests] era-xml 2017-08-30 13:35:44 +01:00
Joe Thornber
8c251018c6 [functional-tests] thin_delta tests 2017-08-30 10:39:58 +01:00
Joe Thornber
e0bab67bd8 whitespace 2017-08-30 10:38:19 +01:00
Joe Thornber
bcc7f85f1e [functional-tests/cache] cache_metadata_size tests 2017-08-30 10:12:46 +01:00
Joe Thornber
a724d86ba2 Bump the version to 0.7.1 2017-08-29 15:07:02 +01:00
Joe Thornber
12024bf232 [functional-tests/thin] Factor out with-empty-metadata 2017-08-29 14:55:48 +01:00
Joe Thornber
33f0c23ca1 [functional-tests] give all temporary files sensible names.
This makes it much easier when debugging a test.
2017-08-29 14:46:59 +01:00
Joe Thornber
13cee36804 [functional-tests/regex-bench] update benchmark to use regex from a
string rather than combinators.
2017-08-29 13:26:14 +01:00
Joe Thornber
14d1751022 [functional-tests/regex] reorder definition of rx 2017-08-29 13:24:11 +01:00
Joe Thornber
761c655035 [functional-tests/cache] remove deliberately failing test + whitespace 2017-08-29 13:23:27 +01:00
Joe Thornber
61d747b246 [functional-tests/run-test] add list command. 2017-08-29 10:28:56 +01:00
Joe Thornber
1940945d6f [functional-tests/regex] use indirect-lambda to hotpatch rx 2017-08-29 09:27:28 +01:00
Joe Thornber
e5ca0bc5e1 [functional-tests] add indirect-lambda/set-lambda! to (utils) 2017-08-29 09:18:39 +01:00
Joe Thornber
da4bb22b6a [functional-tests/regex] Get groups working
Hacked a hotpatch soln.
2017-08-28 17:38:49 +01:00
Joe Thornber
be34337b06 [functional-tests] Add some cache tests 2017-08-25 15:03:50 +01:00
Joe Thornber
2eea8c4e84 [functional-tests] (process) library 2017-08-25 15:01:09 +01:00
Joe Thornber
970cd314de [functional-tests/temp-file] temp-file-sized 2017-08-25 11:26:45 +01:00
Joe Thornber
de2e243408 [functional-tests/cache] use a temp file for metadata 2017-08-25 11:26:09 +01:00
Joe Thornber
78cb2570a3 [functional-tests] start a trivial (disk-units) library 2017-08-25 11:25:37 +01:00
Joe Thornber
ccd89d32da [functional-tests/thin] use a temp file to hold metadata 2017-08-25 11:12:18 +01:00
Joe Thornber
3635952ec8 [functional-tests] (process) lib, and create a per scenario log file 2017-08-25 09:46:56 +01:00
Joe Thornber
0fcf05e4fc [functional-tests] add newline to log messages 2017-08-25 09:45:56 +01:00
Joe Thornber
6b4e47a05f [functional-tests] (logging) 2017-08-24 15:54:03 +01:00
Joe Thornber
0740cb7bcc [functional-tests] fluid-let is already in (chezscheme) 2017-08-24 14:09:23 +01:00
Joe Thornber
02618e39d1 [functional-tests] Lexically scoped temp file stuff 2017-08-24 14:03:07 +01:00
Joe Thornber
bc765ce89d [functional-tests] fluid-let 2017-08-23 11:10:53 +01:00
Joe Thornber
2fe464a4cf [functional-tests] move swap! to (utils) 2017-08-23 10:49:36 +01:00
Joe Thornber
e3053df850 [functional-tests] factor out temp-file library 2017-08-23 10:48:33 +01:00
Joe Thornber
1cc2ab62ae [functional-tests] comment 2017-08-23 10:18:09 +01:00
Joe Thornber
417a970bc2 [functional-tests] Stop printing the command line in run-tests 2017-08-23 10:11:26 +01:00
Joe Thornber
029db28b3b [functional-tests] only repeat failures if there are some :) 2017-08-23 10:08:28 +01:00
Joe Thornber
52f17c3230 [functional-tests] You can now specify tests using a regex.
Prefix the command line arg with 're:'.
2017-08-23 10:04:00 +01:00
Joe Thornber
87b3556d36 [functional-tests/regex] tweak definition of rx 2017-08-22 17:41:40 +01:00
Joe Thornber
c049ec6f39 [functional-tests/regex] parser mostly working.
Just need to stop grouping '(' ')' from looping forever.
2017-08-22 17:28:13 +01:00
Joe Thornber
38577de0ea [functional-tests] start using the parser combinators for the command
line
2017-08-22 09:48:20 +01:00
Joe Thornber
61c4a14c65 [functional-tests] tweak output 2017-08-22 09:47:00 +01:00
Joe Thornber
5384d75351 [functional-tests] Monadic parser combinators 2017-08-22 09:45:22 +01:00
Joe Thornber
a51aeb29a1 [functionl-tests] allow multiple patterns on the run-test command line 2017-08-21 11:33:44 +01:00
Joe Thornber
b0a9ac7fcf [functional-tests] rename run-functional-tests.scm -> run-tests 2017-08-21 11:15:23 +01:00
Joe Thornber
ba7f5e072f [functional-tests] run-functional-tests now takes a filter command line 2017-08-21 10:53:23 +01:00
Joe Thornber
9b632b769d [functional-tests] return 1 as an exit code if there are failures. 2017-08-21 10:18:10 +01:00
Joe Thornber
8603a802ed [functional-tests] Improve formatting of failures. 2017-08-21 10:10:15 +01:00
Joe Thornber
80f9d082d5 [functional-tests/utils] inc!, dec! 2017-08-21 09:59:45 +01:00
Joe Thornber
c921233f3c [functional-tests/regex] tidying 2017-08-20 14:36:02 +01:00
Joe Thornber
08ce1967ae [functional-tests/regex] add comment for regex grammar. 2017-08-20 13:35:40 +01:00
Joe Thornber
150f38cf83 [functional-tests/regex] rename thread-set to yarn 2017-08-19 09:04:48 +01:00
Joe Thornber
c2bfcf7899 [functional-tests/regex] stop thread-set from allocating
We now allocate 0 bytes when matching.  But it makes practically no
difference to the execution time.
2017-08-18 21:24:38 +01:00
Joe Thornber
ecd616a28c [functional-tests/regex] Removed call/cc, made v. little difference.
Something is still allocating a lot of memory.
2017-08-18 20:51:24 +01:00
Joe Thornber
27eb4d8ce4 [functional-tests/regex] more optimisation.
I think we're going to have to lose the call/cc; something is allocating
a lot of memory.
2017-08-18 19:28:07 +01:00
Joe Thornber
2fb7eb265f [functional-tests/regex] remove match from the loop 2017-08-18 19:05:40 +01:00
Joe Thornber
ca6a036697 [functional-tests/regex] pull out a swap macro 2017-08-18 18:35:40 +01:00
Joe Thornber
b2b8d2b3c7 [functional-tests/regex] Restructure the matcher to try and reduce
memory
2017-08-18 18:32:05 +01:00
Joe Thornber
9202e31725 [functional-tests/regex] fix bug in the star combinator 2017-08-18 18:01:31 +01:00
Joe Thornber
df09bf2cc6 [functional-tests] regex matcher starts to work.
Very slow implementation.
2017-08-18 16:02:43 +01:00
Joe Thornber
4602ba856d [functional-tests] add a while loop 2017-08-18 16:02:10 +01:00
Joe Thornber
59a77ee44a [functional-tests] more work on the regex engine 2017-08-18 13:21:17 +01:00
Joe Thornber
ca16f0eac8 [functional-tests] start working on a little regex matcher 2017-08-18 12:27:17 +01:00
Joe Thornber
d142fbe0a5 [functional-tests] Add some cache_check tests 2017-08-17 16:26:15 +01:00
Joe Thornber
b5d27e2a0c [functional-tests] move some functions from (thin-functional-tests) 2017-08-17 16:24:10 +01:00
Joe Thornber
d061caaf2b [functional-tests] add (cache-xml) 2017-08-17 14:46:01 +01:00
Joe Thornber
207553dfce [functional-tests] remove some unused imports from (thin-xml) 2017-08-17 14:44:03 +01:00
Joe Thornber
a70c25e912 [functional tests] start a (loops) library
Contains upto.
2017-08-17 14:11:59 +01:00
Joe Thornber
a7d0e687e8 [functional-tests] start a (generators) library 2017-08-17 12:13:57 +01:00
Joe Thornber
0730016cc2 [functional tests] Split out an (xml) library from (thin-xml)
Preparation for writing cache-xml and era-xml.
2017-08-17 11:55:18 +01:00
Joe Thornber
8fc8331404 [functional-tests] add show-tests.scm script which lists the tests. 2017-08-17 11:30:28 +01:00
Joe Thornber
66647ae549 [functional-tests] Tests are now identified by a list of symbols.
Improved formatting too.
2017-08-17 11:23:43 +01:00
Joe Thornber
08ebf0aa8a [functional-tests] split up main.scm 2017-08-15 16:07:45 +01:00
Joe Thornber
7f7a7d6605 [functional tests] start thinking about a block cache interface.
I want to use FFI to link with a C library containing the actual block
cache, io engine and crc32 code.
2017-08-14 10:05:38 +01:00
Joe Thornber
b2355df719 [functional tests] we can now walk both levels of the mapping tree. 2017-08-12 19:27:21 +01:00
Joe Thornber
5e6ffbbd3a [functional tests] more work on decoding btrees 2017-08-11 15:41:57 +01:00
Joe Thornber
d0040a169d [functional tests] more work on the binary-format macro 2017-08-10 15:07:20 +01:00
Joe Thornber
78488e8909 [functional tests] add code to read btrees 2017-08-08 19:28:59 +01:00
Joe Thornber
57db3a2b99 [functional tests] Break up check-superblock.scm into separate
libraries
2017-08-08 11:47:37 +01:00
Joe Thornber
2f355f64ff [functional-tests] more experimenting with the define-binary macro 2017-08-08 11:21:41 +01:00
Joe Thornber
c90a7b9e2f [functional tests] first steps in parsing the binary format. 2017-08-05 21:18:32 +01:00
Joe Thornber
397d2006a5 [functional tests] a little bit of tidying 2017-08-03 16:12:58 +01:00
Joe Thornber
5389e8e65a [functional tests] Replace some of the cucumber tests.
Replace thin_check, thin_dump, thin_restore and thin_rmap functional
tests.
2017-08-03 15:20:50 +01:00
Joe Thornber
213d9d2075 [functional-tests] thin_check scenarios now work. 2017-08-02 13:42:37 +01:00
Joe Thornber
9ea1af5f4b [functional-tests] Get some trivial tests running. 2017-08-01 14:02:11 +01:00