diff options
-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.. |