OSDN Git Service

ART: Refactor run-test 924
authorAndreas Gampe <agampe@google.com>
Wed, 12 Apr 2017 15:42:16 +0000 (08:42 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 18 Apr 2017 23:17:58 +0000 (16:17 -0700)
commit447c1af5187ea23b8bd045a84fd332dd6a284fe0
tree630c84dbae2a199ae15e67febeb7b8c0a2613d9d
parent741a81af441cbcb7255229bf250bc009d2894e92
ART: Refactor run-test 924

Move testing to a dedicated thread to have a known thread name.
Change event reporting to be Java-side. Use Java-side thread list
(from Thread.getAllStackTraces) as comparison for minimal expected
set of threads.

Bug: 32072923
Test: art/test/testrunner/testrunner.py -b --host -t 924
Change-Id: I238ffc202e42eea8d1788137715188d3dfbcc8fb
test/924-threads/expected.txt
test/924-threads/src/art/Test924.java
test/924-threads/threads.cc