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

Commit c05df66c authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "init_kill_services_test: reboot device first." am: 1ec8c39c

Change-Id: I528b5453fcc2e83401f6ceccdc4cc0d848f186e1
parents 6a7ec53c 1ec8c39c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3,5 +3,9 @@ cc_test {
    srcs: ["init_kill_services_test.cpp"],
    shared_libs: ["libbase"],
    test_suites: ["general-tests"],
    require_root: true,

    // TODO(b/153565474): switch back to auto-generation
    // and add back:
    //     require_root: true,
    auto_gen_config: false,
}
+34 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<configuration description="Runs init_kill_services_test.">
    <option name="test-suite-tag" value="apct" />
    <option name="test-suite-tag" value="apct-native" />

    <!-- cannot be autogenerated: b/153565474 -->
    <target_preparer class="com.android.tradefed.targetprep.RebootTargetPreparer" />

    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>

    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="push" value="init_kill_services_test->/data/local/tmp/init_kill_services_test" />
    </target_preparer>

    <test class="com.android.tradefed.testtype.GTest" >
        <option name="native-test-device-path" value="/data/local/tmp" />
        <option name="module-name" value="init_kill_services_test" />
    </test>
</configuration>