Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 989fc50a authored by Calin Juravle's avatar Calin Juravle
Browse files

Fix profileSnapshot test in installd.

We need to pass the apk path to profman when generating the
expected profile.

Test: installd_dexopt_test
Bug: 73053897
Change-Id: I86bb30170a722b1917235daf1c98b478d412c5c3
parent 69e61e19
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -675,7 +675,8 @@ class ProfileTest : public DexoptTest {
        run_cmd("touch " + expected_profile_content);
        run_cmd("profman --profile-file=" + cur_profile_ +
                " --profile-file=" + ref_profile_ +
                " --reference-profile-file=" + expected_profile_content);
                " --reference-profile-file=" + expected_profile_content +
                " --apk=" + apk_path_);

        ASSERT_TRUE(AreFilesEqual(expected_profile_content, snap_profile_));