summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-09-27 14:28:54 +0200
committerAlex Deymo <deymo@google.com>2017-09-28 19:36:57 +0200
commitfb3b632fdebf18a93e137159c52bc90e4812318f (patch)
tree6d0cb5374559306bbde716084cfe4b12be2ea119 /Makefile
parent538a75d13b8061deb99f33c5766542d286563aad (diff)
downloadbsdiff-fb3b632fdebf18a93e137159c52bc90e4812318f.tar.gz
Add unittest for the PatchWriter.
Split the unittest logic between bsdiff() function and the PatchWriter. This patch now tests individually the PatchWriter logic that writes to disk and the bsdiff() logic to create patches in the same very simple cases. We also update the Android.bp file to only pass -DBSDIFF_TARGET_UNITTEST when building for the target. Bug: 34220646 Test: ran unittests. Change-Id: I9350157ee4a0b5a617f44bb187bd7652f6d6f017
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2372b76..efa44c5 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,7 @@ bsdiff_common_unittests := \
bspatch_unittest.cc \
extents_file_unittest.cc \
extents_unittest.cc \
+ patch_writer_unittest.cc \
test_utils.cc \
testrunner.cc