diff --git a/core/autogen_test_config.mk b/core/autogen_test_config.mk index a01d80fd1..6d751322b 100644 --- a/core/autogen_test_config.mk +++ b/core/autogen_test_config.mk @@ -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 diff --git a/core/native_test_config_template.xml b/core/native_test_config_template.xml index a88d57c47..f3d323100 100644 --- a/core/native_test_config_template.xml +++ b/core/native_test_config_template.xml @@ -17,6 +17,9 @@