summaryrefslogtreecommitdiff
path: root/cmdline/cmdline_parser_test.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2018-06-04 16:17:56 -0700
committer Alex Light <allight@google.com> 2018-06-05 09:35:54 -0700
commit5af3f503f3ad5a24dc1acac3070f7dcda4b6593d (patch)
tree76c3ca01e088b0fd8d1a863dc58ce4a7e22d3a76 /cmdline/cmdline_parser_test.cc
parent5ebdc88a8469cb2bb9188c18b379ca486d338728 (diff)
Make adbconnection start automatically for debuggable apps (on target)
With wrap.sh it is required that apps that wish to be debuggable declare that explicitly by adding the '-Xcompiler-option --debuggable' options. When we switched to the new debugger implementation we accidentally added a requirement that you pass -XjdwpProvider:adbconnection. This removes that requirement and returns to the earlier state. Bug: 109505014 Test: Build program with wrap.sh that adds -Xcompiler-option --debuggable Attach debugger to program. Change-Id: I9416ed3b156776439f5bfec032fee3f11fe4eb3c
Diffstat (limited to 'cmdline/cmdline_parser_test.cc')
-rw-r--r--cmdline/cmdline_parser_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/cmdline_parser_test.cc b/cmdline/cmdline_parser_test.cc
index 235a2aa90e..a52e16328a 100644
--- a/cmdline/cmdline_parser_test.cc
+++ b/cmdline/cmdline_parser_test.cc
@@ -371,7 +371,7 @@ TEST_F(CmdlineParserTest, DISABLED_TestXGcOption) {
*/
TEST_F(CmdlineParserTest, TestJdwpProviderEmpty) {
{
- EXPECT_SINGLE_PARSE_DEFAULT_VALUE(JdwpProvider::kNone, "", M::JdwpProvider);
+ EXPECT_SINGLE_PARSE_DEFAULT_VALUE(JdwpProvider::kUnset, "", M::JdwpProvider);
}
} // TEST_F