Merge "Add a placeholder EXTRA_OPTIONS to inject more tradefed options" am: 20a50f75a3 am: cab4032f3c

am: 0e0ef29e9f

Change-Id: I3f0dd9e039ddbb1ab5bc6ab3ac6b1491dfae0719
This commit is contained in:
Julien Desprez 2019-03-01 17:24:01 -08:00 committed by android-build-merger
commit 9df0b2d006
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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}" />