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

Commit 40b5f46c authored by Calin Juravle's avatar Calin Juravle Committed by Andreas Gampe
Browse files

Fix profileSnapshot test in installd.

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

(cherry picked from commit 989fc50a)

Test: installd_dexopt_test
Bug: 73053897
Merged-In: I86bb30170a722b1917235daf1c98b478d412c5c3
Change-Id: I86bb30170a722b1917235daf1c98b478d412c5c3
parent 5bd1c725
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_));