OSDN Git Service

ART: Implement next-line assertions in Checker
authorDavid Brazdil <dbrazdil@google.com>
Tue, 19 May 2015 17:29:40 +0000 (18:29 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Thu, 21 May 2015 10:25:54 +0000 (11:25 +0100)
commit711411957a433555eda4bcf8d1f05aabf04425e8
treef82f3365199fb8561eb7394cbfcd5d73e72405d7
parent01cb410f4ad23135671d821ba36c269f8c82affa
ART: Implement next-line assertions in Checker

Some tests require verifying an exact sequence of lines in the graph
dump. This was already possible by inserting 'CHECK-NOT: {{.*}}'
between the individual lines, but hardly a convenient way of doing so.
This patch introduces a new 'CHECK-NEXT' kind of assertions that
replaces the old method and will become useful for testing assembly.

Change-Id: I1bb951707bda44320166dc7ef828866a6957a113
test/476-checker-ctor-memory-barrier/src/Main.java
tools/checker/file_format/checker/parser.py
tools/checker/file_format/checker/struct.py
tools/checker/file_format/checker/test.py
tools/checker/match/file.py
tools/checker/match/test.py