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

Commit 2c67dfbc authored by Dan Shi's avatar Dan Shi
Browse files

Add test config to libcutils_test

This change allows TradeFederation to run the test directly.
Refer to b/35882476 for design and discussion of this change.

Bug: 35882476
Test: local test
tradefed.sh run template/local --template:map test=libcutils_test

Change-Id: Ie083d1641e4ea226cbf7b82c6fd2c115e15b6bf6
parent bc9cb388
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ test_libraries = [

cc_test {
    name: "libcutils_test",
    test_suites: ["device-tests"],
    defaults: ["libcutils_test_default"],
    host_supported: true,
    shared_libs: test_libraries,
+3 −3
Original line number Diff line number Diff line
@@ -13,14 +13,14 @@
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<configuration description="Config for libcutils_test_static">
<configuration description="Config for libcutils_test">
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="push" value="libcutils_test_static->/data/local/tmp/libcutils_test_static" />
        <option name="push" value="libcutils_test->/data/local/tmp/libcutils_test" />
    </target_preparer>
    <option name="test-suite-tag" value="apct" />
    <test class="com.android.tradefed.testtype.GTest" >
        <option name="native-test-device-path" value="/data/local/tmp" />
        <option name="module-name" value="libcutils_test_static" />
        <option name="module-name" value="libcutils_test" />
    </test>
</configuration>
 No newline at end of file