diff options
author | Alex Deymo <deymo@google.com> | 2015-10-23 09:51:31 -0700 |
---|---|---|
committer | Alex Deymo <deymo@google.com> | 2015-10-23 20:09:15 -0700 |
commit | 792b0a5d2fc29cd8d5ba91be5dd1d34f0676f53b (patch) | |
tree | 746e29770097160ac60b60c9c0022493f2a809df /bsdiff_unittest.cc | |
parent | 437b7afd23768d737055fa70b79f5f2f714583a5 (diff) | |
download | bsdiff-792b0a5d2fc29cd8d5ba91be5dd1d34f0676f53b.tar.gz |
Build unittests on Android.
The unitests were compiled in the Makefile but not on Android. This
patch builds the unittests for the host on Android.
Bug: 24478450
Test: mmma external/bsdiff && out/host/linux-x86/bin/bsdiff_unittest
Change-Id: Ib9f70e57273e585f31b46068d29b277aaae611eb
Diffstat (limited to 'bsdiff_unittest.cc')
-rw-r--r-- | bsdiff_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsdiff_unittest.cc b/bsdiff_unittest.cc index 54361a7..b3aae3e 100644 --- a/bsdiff_unittest.cc +++ b/bsdiff_unittest.cc @@ -42,7 +42,7 @@ TEST_F(BsdiffTest, EqualEmptyFiles) { // An empty bz2 file will have 14 bytes. EXPECT_EQ(14, patch.diff_len); - EXPECT_EQ(14, patch.extra_len); + EXPECT_EQ(14U, patch.extra_len); } TEST_F(BsdiffTest, EqualSmallFiles) { @@ -58,7 +58,7 @@ TEST_F(BsdiffTest, EqualSmallFiles) { // An empty bz2 file will have 14 bytes. EXPECT_EQ(14, patch.diff_len); - EXPECT_EQ(14, patch.extra_len); + EXPECT_EQ(14U, patch.extra_len); } } // namespace bsdiff |