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

Commit 1b6fad3d 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

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



Change-Id: If5dab041e881114da7ba3c61f2de0f7552397d73
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 63f534b3 36c4e67e
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))