diff options
author | Julien Desprez <jdesprez@google.com> | 2019-06-21 08:52:39 -0700 |
---|---|---|
committer | Julien Desprez <jdesprez@google.com> | 2019-06-21 09:09:35 -0700 |
commit | ba11fb979fede522a9d59acff4a6af797cb51798 (patch) | |
tree | c672d6e8f6e5daf0120a795c79ae9278fb42fe59 /toybox-tests.xml | |
parent | ec09fd9faf614052d5318ee8325ef51bdfbef0a5 (diff) | |
download | toybox-ba11fb979fede522a9d59acff4a6af797cb51798.tar.gz |
Setup a basic first config to execute toybox tests
Needs aosp/987354.
Test: atest toybox-tests
Bug: 135744229
Change-Id: I1dd5efe7204bce9cf5eae82324810c226de41aeb
Diffstat (limited to 'toybox-tests.xml')
-rw-r--r-- | toybox-tests.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/toybox-tests.xml b/toybox-tests.xml new file mode 100644 index 00000000..90384a1f --- /dev/null +++ b/toybox-tests.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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="Config for running toybox-tests through Atest or in Infra"> + <option name="test-suite-tag" value="toybox-tests" /> + <!-- This test requires a device, so it's not annotated with a null-device --> + <test class="com.android.tradefed.testtype.binary.ExecutableHostTest" > + <option name="binary" value="run-tests-on-android.sh" /> + <!-- Toybox tests script assumes a relative path with the tests/ folders --> + <option name="relative-path-execution" value="true" /> + <!-- Tests shouldn't be that long but set 15m to be safe to start with --> + <option name="per-binary-timeout" value="15m" /> + </test> +</configuration> |