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

Commit 3f678dc2 authored by Bart Van Assche's avatar Bart Van Assche Committed by Automerger Merge Worker
Browse files

audio: VtsHalAudioCoreModuleTargetTest: Convert a SIGSEGV into an assertion...

audio: VtsHalAudioCoreModuleTargetTest: Convert a SIGSEGV into an assertion failure am: a0234940 am: 36c4e67e am: 1b6fad3d

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2820217



Change-Id: I9c96b3fafb1609b144f7c4c7fabce76ef660c3f7
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a1d8f2f6 1b6fad3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -446,6 +446,7 @@ class AudioCoreModuleBase {

    void TearDownImpl() {
        debug.reset();
        ASSERT_NE(module, nullptr);
        std::vector<AudioPort> finalPorts;
        ASSERT_IS_OK(module->getAudioPorts(&finalPorts));
        EXPECT_NO_FATAL_FAILURE(VerifyVectorsAreEqual<AudioPort>(initialPorts, finalPorts))