mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
test/decode: Add tests for PatternGroups
This adds one test that supposed to succeed to test deep nesting of pattern groups which is rarely exercised by targets using decode tree. The remaining tests exercise various fail conditions. Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <20190227120217.20794-1-kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0eff2df4a2
commit
bf92118fa9
6 changed files with 68 additions and 0 deletions
10
tests/decode/err_pattern_group_ident1.decode
Normal file
10
tests/decode/err_pattern_group_ident1.decode
Normal file
|
@ -0,0 +1,10 @@
|
|||
# This work is licensed under the terms of the GNU LGPL, version 2 or later.
|
||||
# See the COPYING.LIB file in the top-level directory.
|
||||
|
||||
%sub1 0:8
|
||||
|
||||
# Make sure that indentation is enforced
|
||||
{
|
||||
top 00000000 00000000 00000000 00000000
|
||||
sub1 00000000 00000000 00000000 ........ %sub1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue