diff options
author | Alex Light <allight@google.com> | 2019-04-02 14:47:24 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-04-02 23:46:40 +0000 |
commit | df1a7d458e3f4b5410562e7d86a3343155a44ce0 (patch) | |
tree | c05da87410e3492824c66afa1652c37f6ddb7ea7 | |
parent | 42d023445ae06a77777bce6fa99b457382d0f1a0 (diff) | |
download | art-df1a7d458e3f4b5410562e7d86a3343155a44ce0.tar.gz art-df1a7d458e3f4b5410562e7d86a3343155a44ce0.tar.bz2 art-df1a7d458e3f4b5410562e7d86a3343155a44ce0.zip |
Run libjdwp tests with coredump=y
To aid in investigating b/70918330 run with coredump=y. This will
cause libjdwp to abort(3) when an error occurs. This should cause the
runtime to dump a stack which we can use to determine the actual
error.
Test: ./art/tools/run-libjdwp-tests.sh --mode=host
Bug: 70918330
Change-Id: I4f1e1a9873e17661667dfcc1d632ea94b29957d2
-rwxr-xr-x | tools/run-libjdwp-tests.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-libjdwp-tests.sh b/tools/run-libjdwp-tests.sh index bd052517fd..0bea6a5fe3 100755 --- a/tools/run-libjdwp-tests.sh +++ b/tools/run-libjdwp-tests.sh @@ -121,4 +121,5 @@ function verbose_run() { verbose_run ./art/tools/run-jdwp-tests.sh \ "${args[@]}" \ --jdwp-path "libjdwp.so" \ + --vm-arg -Djpda.settings.debuggeeAgentExtraOptions=coredump=y \ --expectations "$expect_path" |