summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-05-20 16:34:27 +0100
committerRoland Levillain <rpl@google.com>2020-06-04 08:53:43 +0000
commit06d98541e56f1f6163d1c1684e072c7c115c3f27 (patch)
tree88e10e540476c2755f72cc485f0eb8c320386e9b /compiler/optimizing/graph_visualizer.cc
parenta21054bf142a223a36c64a9f6d845e64f3cf6f67 (diff)
Checker: Support IF, ELIF, ELSE, FI
It is now possible to add conditional statements in tests in the following form: /// CHECK-IF: condition1 /// CHECK: foobar01 /// CHECK-ELIF: condition2 /// CHECK: foobar02 /// CHECK-ELSE: /// CHECK: foobar03 /// CHECK-FI: - Conditions are Python statements evaluated with `eval`. - They can contain references to previously defined variables (<<MyVar>>). - Nested branching is supported. Credits: the initial implementation of the patch was written by David Brazdil (dbrazdil@google.com). It incuded support for IF, ELSE and FI. Furthermore, this patch includes a test case (2231-checker-heap-poisoning) mostly written by Roland Levillain (rpl@google.com). The CL adds support for ELIF, CHECK-NEXT and CHECK-DAG in branches, tests and documentation. Author: Fabio Rinaldi Committer: Artem Serov Test: art/tools/checker/run_unit_tests.py Test: test.py --target --optimizing with tweaks to env ART_HEAP_POISONING (set it to True or False) and ART_READ_BARRIER_TYPE (set it equal or not equal to 'TABLELOOKUP') Test: test.py --host --optimizing with the same tweaks Bug: 147876827 Change-Id: I73f87781b9e7862d5735c6160ac351610fc9bd92
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions