From d77e7ea10556f9db8e3a6ceeaafa42149f863ec2 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Fri, 8 Jan 2021 23:21:30 -0500 Subject: Disable failed imgpatch tests For a proper solution, add a variant of libz which doesn't have platform dependent optimizations, and make imgdiff use that version. Test: treehugger Bug: 177076632 Change-Id: Ia9e926c1adf22d351315eeec5ad1fabc3d48efd5 --- tests/unit/applypatch_modes_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/applypatch_modes_test.cpp') diff --git a/tests/unit/applypatch_modes_test.cpp b/tests/unit/applypatch_modes_test.cpp index 08414b796..9e9797950 100644 --- a/tests/unit/applypatch_modes_test.cpp +++ b/tests/unit/applypatch_modes_test.cpp @@ -100,7 +100,7 @@ TEST_F(ApplyPatchModesTest, InvalidArgs) { ASSERT_EQ(2, InvokeApplyPatchModes({ "applypatch", "-x" })); } -TEST_F(ApplyPatchModesTest, PatchModeEmmcTarget) { +TEST_F(ApplyPatchModesTest, DISABLED_PatchModeEmmcTarget) { std::vector args{ "applypatch", "--bonus", @@ -118,7 +118,7 @@ TEST_F(ApplyPatchModesTest, PatchModeEmmcTarget) { // Tests patching an eMMC target without a separate bonus file (i.e. recovery-from-boot patch has // everything). -TEST_F(ApplyPatchModesTest, PatchModeEmmcTargetWithoutBonusFile) { +TEST_F(ApplyPatchModesTest, DISABLED_PatchModeEmmcTargetWithoutBonusFile) { std::vector args{ "applypatch", "--patch", from_testdata_base("recovery-from-boot-with-bonus.p"), "--target", target, "--source", -- cgit v1.2.3