commit | 980052abf63b59f9dfb6f7601c1f80949d244a56 | [log] [tgz] |
---|---|---|
author | Jim Shargo <jshargo@google.com> | Mon Aug 07 21:09:20 2023 +0000 |
committer | Jim Shargo <jshargo@google.com> | Tue Aug 08 16:57:42 2023 +0000 |
tree | 5565f0c7fc3894829ffee41334a128aa5abf90f7 | |
parent | 1afb7ffec29d9edcaf9ef565c84a390a6142fed0 [diff] |
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
diff --git a/core/rust_device_benchmark_config_template.xml b/core/rust_device_benchmark_config_template.xml index 2055df2..541630c 100644 --- a/core/rust_device_benchmark_config_template.xml +++ b/core/rust_device_benchmark_config_template.xml
@@ -16,7 +16,7 @@ <!-- This test config file is auto-generated. --> <configuration description="Config to run {MODULE} rust benchmark tests."> <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}" /> </target_preparer>