diff options
author | Ram Mohan M | 2017-09-13 04:58:46 -0500 |
---|---|---|
committer | Pawin Vongmasa | 2017-09-17 07:10:39 -0500 |
commit | 0a9ac2ac7881fb1db5cec5ddf67b5419379c4da1 (patch) | |
tree | 70ea412ee98f1dcec3de2e22fb1144de4a16cc80 /media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | |
parent | 3f2c1c1b1c42a545d0ac613ecdeae65d31e5e850 (diff) | |
download | platform-hardware-interfaces-0a9ac2ac7881fb1db5cec5ddf67b5419379c4da1.tar.gz platform-hardware-interfaces-0a9ac2ac7881fb1db5cec5ddf67b5419379c4da1.tar.xz platform-hardware-interfaces-0a9ac2ac7881fb1db5cec5ddf67b5419379c4da1.zip |
Enable EOSTest_M test
eostest_m was disabled during the time of o-release. This is
enabled now. Also improved logging
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Host \
-l INFO
Bug: 63796949
Change-Id: I4797fce4f5911d9f37f5c91f179d9ab9263177f0
Diffstat (limited to 'media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp')
-rw-r--r-- | media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp b/media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp index 85207577..8b9532a7 100644 --- a/media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp +++ b/media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | |||
@@ -219,7 +219,7 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { | |||
219 | framesReceived = 0; | 219 | framesReceived = 0; |
220 | timestampUs = 0; | 220 | timestampUs = 0; |
221 | timestampDevTest = false; | 221 | timestampDevTest = false; |
222 | if (disableTest) std::cerr << "[ ] Warning ! Test Disabled\n"; | 222 | if (disableTest) std::cout << "[ WARN ] Test Disabled \n"; |
223 | } | 223 | } |
224 | 224 | ||
225 | virtual void TearDown() override { | 225 | virtual void TearDown() override { |
@@ -263,9 +263,8 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { | |||
263 | EXPECT_EQ(tsHit, true) | 263 | EXPECT_EQ(tsHit, true) |
264 | << "TimeStamp not recognized"; | 264 | << "TimeStamp not recognized"; |
265 | } else { | 265 | } else { |
266 | std::cerr | 266 | std::cout << "[ INFO ] Received non-zero " |
267 | << "[ ] Warning ! Received non-zero " | 267 | "output / TimeStamp not recognized \n"; |
268 | "output / TimeStamp not recognized \n"; | ||
269 | } | 268 | } |
270 | } | 269 | } |
271 | } | 270 | } |
@@ -716,7 +715,7 @@ TEST_F(AudioDecHidlTest, SetRole) { | |||
716 | } | 715 | } |
717 | 716 | ||
718 | // port format enumeration | 717 | // port format enumeration |
719 | TEST_F(AudioDecHidlTest, DISABLED_EnumeratePortFormat) { | 718 | TEST_F(AudioDecHidlTest, EnumeratePortFormat) { |
720 | description("Test Component on Mandatory Port Parameters (Port Format)"); | 719 | description("Test Component on Mandatory Port Parameters (Port Format)"); |
721 | if (disableTest) return; | 720 | if (disableTest) return; |
722 | android::hardware::media::omx::V1_0::Status status; | 721 | android::hardware::media::omx::V1_0::Status status; |
@@ -822,11 +821,7 @@ TEST_F(AudioDecHidlTest, DecodeTest) { | |||
822 | } | 821 | } |
823 | 822 | ||
824 | // end of sequence test | 823 | // end of sequence test |
825 | // SPECIAL CASE; Sending Empty input EOS buffer is not supported across all | 824 | TEST_F(AudioDecHidlTest, EOSTest_M) { |
826 | // components. For instance soft vorbis and soft opus expects CSD buffers at | ||
827 | // the start. Disabling this test for now. We shall revisit this at a later | ||
828 | // stage | ||
829 | TEST_F(AudioDecHidlTest, DISABLED_EOSTest_M) { | ||
830 | description("Test end of stream monkeying"); | 825 | description("Test end of stream monkeying"); |
831 | if (disableTest) return; | 826 | if (disableTest) return; |
832 | android::hardware::media::omx::V1_0::Status status; | 827 | android::hardware::media::omx::V1_0::Status status; |