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

Commit e9ad6517 authored by Keun Soo Yim's avatar Keun Soo Yim
Browse files

use the profiler test's name and a precondition to decide when to run.

Bug: 34715432
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
HalSoundTriggerHidlTargetBasicProfilingTest -l INFO
Change-Id: I116ed144076f07f752c756d9ddb6e425442d39cc
parent c91e7fb9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -19,12 +19,13 @@
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer" />
    <test class="com.android.tradefed.testtype.VtsMultiDeviceTest">
        <option name="test-module-name" value="HalSoundTriggerHidlTargetBasicTest" />
        <option name="test-module-name" value="HalSoundTriggerHidlTargetBasicProfilingTest" />
        <option name="binary-test-sources" value="
            _32bit::DATA/nativetest/soundtrigger_hidl_hal_test/soundtrigger_hidl_hal_test,
            _64bit::DATA/nativetest64/soundtrigger_hidl_hal_test/soundtrigger_hidl_hal_test,
            "/>
        <option name="binary-test-type" value="gtest" />
        <option name="binary-test-type" value="hal_hidl_gtest" />
        <option name="precondition-file-path-prefix" value="*/lib/hw/sound_trigger.primary." />
        <option name="test-timeout" value="1m" />
        <option name="enable-profiling" value="true" />
    </test>