diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2020-11-16 23:08:18 +0000 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2020-11-17 23:01:35 +0000 |
commit | db21f09a8e02bcfd3fefea68084667688268f1fa (patch) | |
tree | c9b22a2676936eaf56ee1160c9349632ccd7ba44 /tools/aapt2/cmd/Compile_test.cpp | |
parent | 687f5e163f24ff31f822f986fd7a99b8832b6286 (diff) |
Revert^2 "libandroidfw hardening for IncFs"
55ef6167a2c235bd88c7216238b2001b46795b79
Change-Id: I02d4890d181655dfd0a14c188468db512559d27b
Diffstat (limited to 'tools/aapt2/cmd/Compile_test.cpp')
-rw-r--r-- | tools/aapt2/cmd/Compile_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/aapt2/cmd/Compile_test.cpp b/tools/aapt2/cmd/Compile_test.cpp index 0aab94d3299f..8cbd998f2ae2 100644 --- a/tools/aapt2/cmd/Compile_test.cpp +++ b/tools/aapt2/cmd/Compile_test.cpp @@ -314,8 +314,10 @@ TEST_F(CompilerTest, RelativePathTest) { ASSERT_NE(content_values.find(relative_path_values_colors), -1); ASSERT_EQ(content_values.find(path_values_colors), -1); - Link({"-o", apk_path, "--manifest", GetDefaultManifest(), "--proto-format"}, - compiled_files_dir, &diag); + ASSERT_TRUE(Link({"-o", apk_path, + "--manifest", GetDefaultManifest(), + "--proto-format"}, + compiled_files_dir, &diag)); std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, &diag); ResourceTable* resource_table = apk.get()->GetResourceTable(); |