Clean up after ourselves in the Rust Benchmark Template

There's a compliance check for tradefed that ensures that configs for
tests are set to cleanup after themselves. See: https://cs.android.com/android/platform/superproject/main/+/main:tools/tradefederation/core/javatests/com/android/tradefed/presubmit/GeneralTestsConfigValidation.java;l=425-429;drc=1fb7fe35bf7c843b5bac510476d63e4c8b436a48

This causes new benchmarks to fail presubmits.

Test: CLs with rust benchmarks pass presubmits now
Change-Id: I14f64ee3343bcf9bd2d77f547dc16b9c15bf4082
This commit is contained in:
Jim Shargo 2023-08-07 21:09:20 +00:00
parent 1afb7ffec2
commit 980052abf6

View file

@ -16,7 +16,7 @@
<!-- This test config file is auto-generated. --> <!-- This test config file is auto-generated. -->
<configuration description="Config to run {MODULE} rust benchmark tests."> <configuration description="Config to run {MODULE} rust benchmark tests.">
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
<option name="cleanup" value="false" /> <option name="cleanup" value="true" />
<option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" /> <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
</target_preparer> </target_preparer>