Commit Graph

67 Commits

Author SHA1 Message Date
Ming-Hung Tsai
7a332d43c3 [build] Fix the default value for the AR variable (#145)
Initialize the AR variable during configuration, to avoid leaving
unsubstituted string if the AR shell/environment variable is not set.
2020-07-29 10:06:39 +08:00
Arthur Gautier
e6faac9b80 autoconf: allow a user to override ar
This is used on specific buildchains (nixos static builds for example).
2020-07-25 15:16:28 -07:00
Ming-Hung Tsai
57cae67ff1 [unit-tests] fix googletest compile flags
googletest now requires c++11 compiler
2020-02-23 15:41:20 +08:00
Joe Thornber
80e046a7df [build] support separate build directories 2018-06-13 09:34:14 +01:00
Joe Thornber
b9009b53b6 [bcache_t] Add block cache test case for issue 80 2017-07-24 15:32:26 +01:00
Joe Thornber
7df5b26f39 [unit-test] knock out the bloom filter tests.
We don't use bloom filters, and they take ages to run.
2017-03-13 14:16:47 +00:00
Joe Thornber
0a8d7fdb89 [build] tweak includes for test targets 2017-03-13 14:02:11 +00:00
Joe Thornber
c2fdbad322 Merge branch '2016-07-07-improve-thin-repair-error-message' into v0.7-devel
Conflicts:
	Makefile.in
	VERSION
	configure.ac
	persistent-data/file_utils.cc
2016-07-11 15:51:30 +01:00
Joe Thornber
a94bfea798 [block-cache] unit tests + debug io_engine and copier 2016-06-07 11:12:27 +01:00
Mike Frysinger
3e24cff8a1 respect & use CPPFLAGS properly
The common preprocessor variable is named CPPFLAGS.  configure sets this
up for us, including sourcing values from the user.  Rename INCLUDES to
match, and pull the default from configure.
2016-05-09 02:41:54 -04:00
Mike Frysinger
b46676575c fix up test targets
- PHONY is misspelled
- fix the pdata_tools target dep
- add a "check" alias to match standard automake behavior
- mark test & check targets as phony
2016-05-08 23:35:19 -04:00
Joe Thornber
73a69abfd2 [unit-tests] copier and mem_pool tests.
More to come
2016-05-07 11:47:40 +01:00
Joe Thornber
750ce0f47b [thin_show_dups] variable_chunk_stream 2015-09-03 13:02:29 +01:00
Joe Thornber
a934ee69c4 [error_state] add a sneaky little stream operator to simplify combining error_states 2015-04-08 13:58:41 +01:00
Joe Thornber
f06a2673c5 wip 2014-07-29 11:34:26 +01:00
Joe Thornber
8c24419238 Knock out the era_superblock_t for now.
It's still got some bloom stuff in it.  Will tidy up after release.
2014-03-27 12:23:00 +00:00
Joe Thornber
bfb540cc5b [era] era_superblock_t and era_check 2014-01-09 22:40:34 +00:00
Joe Thornber
be5fa59f90 Merge branch 'era' of github.com:jthornber/thin-provisioning-tools into era 2014-01-08 10:50:26 +00:00
Joe Thornber
927f611aad remove btree_checker, and add btree_counter 2013-12-11 17:00:57 +00:00
Joe Thornber
12a50cb568 Some experiments with bloom filters for dm-era 2013-11-15 13:59:12 +00:00
Joe Thornber
a29b5c8d07 [base] bse64 encoder
Really slow implementation.  Speed up on a rainy day.
2013-10-10 10:18:46 +01:00
Joe Thornber
42fd6b928b [cache_check] A whole bunch of superblock checks 2013-10-07 15:21:45 +01:00
Robin H. Johnson
e38c3f9ede Improve build: LDFLAGS.
Linker must be passed LDFLAGS for some distributions, as CXXFLAGS should
not normally contain any linker flags (may fail if passed to
compile-only invocations).

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2013-07-14 21:10:44 +00:00
Joe Thornber
3be8376256 run_set 2013-07-08 21:44:09 +01:00
Joe Thornber
90190912ff [build] Fix bug introduced today in the deps 2013-06-27 12:42:52 +01:00
Joe Thornber
759263d388 [build] DEPs build quietly now and aren't generated when making clean. 2013-06-27 10:17:38 +01:00
Joe Thornber
730f3b9f9a Get unit-tests building with g++ 4.8.1 2013-06-25 14:18:38 +01:00
Joe Thornber
41204dceaa [thin_rmap] rmap_visitor 2013-05-24 13:30:17 +01:00
Joe Thornber
dda85e9751 [unit-tests] remove thin_metadata_t (wasn't testing much, and is now broken) 2013-05-23 14:43:53 +01:00
Joe Thornber
fcb617f858 device_tree 2013-05-20 16:09:13 +01:00
Joe Thornber
88c63f620f Lots of work on the btree_damage_visitor 2013-05-13 12:36:57 +01:00
Joe Thornber
23ef3b387d Start btree_damage_visitor. 2013-05-08 12:00:24 +01:00
Joe Thornber
441cba7185 Small work on metadata_checker tests. 2013-04-26 15:55:45 +01:00
Joe Thornber
a55f6fcf78 A stack of thin_check refactorings 2013-04-25 16:27:07 +01:00
Joe Thornber
e0230c5c55 Fix broken dependencies for .gmo files 2013-04-22 13:50:40 +01:00
Joe Thornber
dde775ef52 thin_metadata_t now reproduces the recursive new_block() error. 2013-04-11 13:41:43 +01:00
Joe Thornber
7d3ab79789 some build updates 2013-03-25 12:56:03 +00:00
Joe Thornber
be7801f111 some __le -> le issues 2013-03-22 15:48:43 +00:00
Joe Thornber
a7081a4789 Some build updates 2013-03-22 15:41:13 +00:00
Joe Thornber
e794079cf7 unit-test makefile 2013-03-22 15:26:18 +00:00
Joe Thornber
f2a388dbab transaction_t -> gmock 2013-03-22 15:19:40 +00:00
Joe Thornber
2ec15f74b8 space_map_t -> gmock 2013-03-22 15:08:52 +00:00
Joe Thornber
a018647d0a btree_t -> gmock 2013-03-22 14:57:46 +00:00
Joe Thornber
9c4bfe4cf9 endian_t -> gmock 2013-03-22 14:53:53 +00:00
Joe Thornber
28128624eb cache_t -> gmock 2013-03-22 14:46:43 +00:00
Joe Thornber
9ed0ecabfe block_t to gmock 2013-03-22 14:43:15 +00:00
Joe Thornber
0a70c17268 Convert bitset_t to gmock 2013-03-22 14:36:31 +00:00
Joe Thornber
1e141f83bb Convert array_block_t to gmock 2013-03-22 14:13:58 +00:00
Joe Thornber
f9bf18adf6 Move array_t to gmock 2013-03-22 13:42:20 +00:00
Joe Thornber
50bab1c90a Quieten down the build 2013-03-22 12:19:31 +00:00