Merge "Add a placeholder EXTRA_OPTIONS to inject more tradefed options"
am: 20a50f75a3
Change-Id: Icf8f52e2aad12157daf3b967b6afa606dc7e0366
This commit is contained in:
commit
cab4032f3c
2 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,7 @@ endif
|
|||
$(autogen_test_config_file): PRIVATE_MODULE_NAME := $(LOCAL_MODULE)
|
||||
$(autogen_test_config_file) : $(autogen_test_config_template)
|
||||
@echo "Auto generating test config $(notdir $@)"
|
||||
$(hide) sed 's&{MODULE}&$(PRIVATE_MODULE_NAME)&g' $< > $@
|
||||
$(hide) sed 's&{MODULE}&$(PRIVATE_MODULE_NAME)&g;s&{EXTRA_OPTIONS}&&g' $< > $@
|
||||
my_auto_generate_config := true
|
||||
else
|
||||
# Auto generating test config file for instrumentation test
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
<configuration description="Runs {MODULE}.">
|
||||
<option name="test-suite-tag" value="apct" />
|
||||
<option name="test-suite-tag" value="apct-native" />
|
||||
|
||||
{EXTRA_OPTIONS}
|
||||
|
||||
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
|
||||
<option name="cleanup" value="true" />
|
||||
<option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
|
||||
|
|
Loading…
Reference in a new issue