Joe Thornber
aa12870c22
[buffer.h] add static test for alignment
2013-01-23 13:32:33 +00:00
Heinz Mauelshagen
ca7de05e62
buffer_t.cc: more tests
2013-01-23 14:32:03 +01:00
Joe Thornber
c2ab5390cb
buffer_t const assignment fails
2013-01-23 13:12:17 +00:00
Heinz Mauelshagen
0f5fc39694
buffer_t.cc
2013-01-23 14:04:34 +01:00
Heinz Mauelshagen
635eb6949a
buffer_t.cc
2013-01-23 13:47:58 +01:00
Heinz Mauelshagen
eed2dfdc38
buffer_t.cc: more tests
2013-01-23 13:28:00 +01:00
Joe Thornber
67cd406fe9
[transaction_manager_t] remove some duplication
2013-01-22 09:59:06 +00:00
Joe Thornber
23b48f0c54
[unit-tests] Update block_manager constructors to use the block_io<>::mode param.
2013-01-15 05:31:48 +00:00
Joe Thornber
2aff80ea78
[block_t] remove the test.data file before each test.
2013-01-15 04:07:47 +00:00
Joe Thornber
cfdc233fa4
[block_t] All block managers are created in create_bm.
2013-01-15 03:43:21 +00:00
Joe Thornber
fb1ad01e19
Add a CREATE mode to the block_io class.
2013-01-15 03:23:55 +00:00
Joe Thornber
aacca8d963
Introduce persistent-data/data-structures/
2013-01-11 19:26:51 +00:00
Joe Thornber
af96c22786
Fix a transaction manager test
2013-01-10 22:11:59 +00:00
Joe Thornber
ace95d434e
whitespace
2013-01-10 21:38:58 +00:00
Joe Thornber
326fd3408b
move space maps to their own sub directory
2013-01-10 21:36:38 +00:00
Joe Thornber
6a4facf03b
test the recursive space map
2013-01-10 21:12:37 +00:00
Joe Thornber
186b0aa6c1
Change the signature of the space_map->new_block() method, introducing
...
a span_iterator abstraction.
Rename sm_transactional -> sm_careful_alloc. Still not happy with the name.
Fix failing test.
2013-01-10 21:05:10 +00:00
Joe Thornber
3d9f91eee2
Test space_map_transactional
2013-01-10 12:15:50 +00:00
Joe Thornber
4ea3476c97
rename space_map_disk_t -> space_map_t
2013-01-10 11:26:29 +00:00
Joe Thornber
44316c5741
Test space_map_core.
2013-01-10 11:21:07 +00:00
Joe Thornber
9933506a15
remove space_map_t
2013-01-10 11:12:36 +00:00
Joe Thornber
3e39e8bfeb
A big raft of changes to the unit-tests
2013-01-09 20:24:11 +00:00
Joe Thornber
ab7124e441
block_t and cache_t fully operational again.
2013-01-07 16:39:02 +00:00
Heinz Mauelshagen
4dcab4b24c
unit-tests/Makefile.in
2011-12-21 12:30:50 +01:00
Heinz Mauelshagen
f7c6cabf33
Rename unit-tests/Makefile.in.in to unit-tests/Makefile.in
2011-12-21 11:08:37 +01:00
Heinz Mauelshagen
e2d68de562
- add licence
...
- try to fix up --enable-testing, but most unit tests don't compile (include
file changes?) or run (missing data?) at present
- support building in different dir from src
- add 'distclean' target and don't build .d files when cleaning
- rebuild if Makefile changes (didn't bother triggering a build
[Alasdair Kergon]
2011-12-21 11:04:00 +01:00
Heinz Mauelshagen
8cf27fdbb0
Correct copyright year
2011-12-15 19:34:31 +01:00
Joe Thornber
1735982eb5
first pass at autoconfing
2011-12-06 15:47:24 +00:00
Joe Thornber
bfe22274d9
actually add the copyright
2011-12-06 13:53:05 +00:00
Joe Thornber
cc9dab3ead
--amend
2011-12-06 13:43:56 +00:00
Joe Thornber
6417af5daa
run_list
2011-11-15 15:41:27 +00:00
Joe Thornber
4f325b96ad
recursive space map
2011-11-09 11:12:33 +00:00
Joe Thornber
6bff674720
thin_restore works (well thin_repair thinks it does).
2011-11-03 14:55:36 +00:00
Joe Thornber
9cee046594
fix a bug in btree lookup
2011-11-01 11:32:29 +00:00
Joe Thornber
d02fcde793
add a cache to the block manager
2011-10-24 18:04:19 +01:00
Joe Thornber
97f8d913e2
first pass at cache
2011-10-21 17:07:19 +01:00
Joe Thornber
c2ab11e034
separate out a separate makefile for the tests
2011-08-31 13:53:46 +01:00
Joe Thornber
9cfdbfb8cc
Having the block size as a template parameter makes all the code very
...
verbose, and we're not likely to change it. So this change removes
that template arg from everything except the block manager.
2011-08-31 13:04:08 +01:00
Joe Thornber
a285fee757
get unit-tests working with g++ 4.4
2011-08-30 12:47:42 +01:00
Joe Thornber
511456f903
Some work on thin_repair.
2011-08-23 11:55:37 +01:00
Joe Thornber
29c2831f3e
[btree_t] check for duplicate blocks
2011-08-22 14:14:10 +01:00
Joe Thornber
4d37416075
[btree] allow people to visit all the nodes in a btree.
2011-08-22 11:55:55 +01:00
Joe Thornber
9be40b76b5
create a separate unit-tests dir
2011-08-22 10:42:13 +01:00