diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2022-07-24 18:31:43 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2022-08-05 00:44:02 +0900 |
commit | 1f38adbce45b76edb55d37617c00b42749b65726 (patch) | |
tree | cab0d291960e29d59c9ff5b109c14dc36b3a51ec | |
parent | d0b3d4456dd8700b9065545d745f3fbf28ff0c91 (diff) |
Add development information
This patch add document for librefop configure options and dependency information.
Bug-AGL: SPEC-4500
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I1e2813d6f8966a8f284bca84f111926239e917f3
-rw-r--r-- | DEVELOP.md | 37 | ||||
-rw-r--r-- | README | 13 |
2 files changed, 49 insertions, 1 deletions
diff --git a/DEVELOP.md b/DEVELOP.md new file mode 100644 index 0000000..b480d5b --- /dev/null +++ b/DEVELOP.md @@ -0,0 +1,37 @@ +# Development information + +## Test + +All test cases are included under the test/ dir. +These test code depend on gtest. + +### configure option + + --enable-test + +### Install gtest packages on host linux. + +#### Ubuntu: +libgtest-dev googletest googletest-tools + +### Run + + ./tools/run-test.sh + + +## gcov support + +This library support gcov support build. + +### configure option + + --enable-gcov + +#### Ubuntu: +lcov + +### Run + + ./tools/gen-test-report.sh + + @@ -4,7 +4,18 @@ Redundancy file operation library is a another implementation for the backup manager of AGL base system. It aim to tiny implementation. -File operation algorithm +Configure option : + --enable-address-sanitizer + Enable address sanitizer in build time (for debug, default is no) + + --enable-gcov + Enable gcov in build time (for debug, default is no) + + --enable-test + Enable unit test build (requir to gtest and gmock, default is no) + + +File operation algorithm : New data write - case 1.. |