• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/connectivity/wificond


Commit MetaInfo

Révisiondb0c3ce2985bf827c1568a7a034f56aa7ee475e0 (tree)
l'heure2017-03-29 16:09:34
AuteurDan Shi <dshi@goog...>
CommiterDan Shi

Message de Log

Add test config to wificond_unit_test

Design doc:
Generalized Suites & the Unification of APCT & CTS Workflows Design/Roadmap
https://docs.google.com/document/d/1eabK3srlBLouMiBMrNP3xJPiRRdcoCquNxC8gBWPvx8/edit#heading=h.78vup5eivwzo

Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#

Bug: 35882476
Test: local test
Change-Id: Ic1279c4785eda6eb6d8b12387caf91f9b28c08b8

Change Summary

Modification

--- a/Android.mk
+++ b/Android.mk
@@ -144,6 +144,7 @@ include $(BUILD_STATIC_LIBRARY)
144144 ###
145145 include $(CLEAR_VARS)
146146 LOCAL_MODULE := wificond_unit_test
147+LOCAL_COMPATIBILITY_SUITE := device-tests
147148 LOCAL_CPPFLAGS := $(wificond_cpp_flags)
148149 LOCAL_C_INCLUDES := $(wificond_includes)
149150 LOCAL_SRC_FILES := \
--- /dev/null
+++ b/AndroidTest.xml
@@ -0,0 +1,26 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<!-- Copyright (C) 2017 The Android Open Source Project
3+
4+ Licensed under the Apache License, Version 2.0 (the "License");
5+ you may not use this file except in compliance with the License.
6+ You may obtain a copy of the License at
7+
8+ http://www.apache.org/licenses/LICENSE-2.0
9+
10+ Unless required by applicable law or agreed to in writing, software
11+ distributed under the License is distributed on an "AS IS" BASIS,
12+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ See the License for the specific language governing permissions and
14+ limitations under the License.
15+-->
16+<configuration description="Config for wificond_unit_test">
17+ <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
18+ <option name="cleanup" value="true" />
19+ <option name="push" value="wificond_unit_test->/data/local/tmp/wificond_unit_test" />
20+ </target_preparer>
21+ <option name="test-suite-tag" value="apct" />
22+ <test class="com.android.tradefed.testtype.GTest" >
23+ <option name="native-test-device-path" value="/data/local/tmp" />
24+ <option name="module-name" value="wificond_unit_test" />
25+ </test>
26+</configuration>
\ No newline at end of file