Skip to content

Commit

Permalink
arm64 debug regex tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Feb 3, 2024
1 parent 5a5d5af commit aa54f54
Showing 1 changed file with 13 additions and 31 deletions.
44 changes: 13 additions & 31 deletions test/db/archos/darwin-arm64/dbg
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,12 @@ ds
dr pc
dr x8
EOF
REGEXP_FILTER_OUT=(([a-zA-Z:=-]+|[0-9a-f][0-9a-f][0-9a-f]|x[0-9]+ = [a-z0-9]+))
REGEXP_FILTER_OUT=((x8\s=\s0x.*)|(pc\s=)|(f44)|(f48))
EXPECT=<<EOF
pc
=
pc =
f44
x8 = 0x0000000000000000
--
pc
=
pc =
f48
x8 = 0x0000000000000064
EOF
Expand Down Expand Up @@ -160,19 +157,14 @@ dc
dr pc
dr x8
EOF
REGEXP_FILTER_OUT=(([a-zA-Z:=-]+|[0-9a-f][0-9a-f][0-9a-f]|x[0-9]+ = [a-z0-9]+))
REGEXP_FILTER_OUT=((x8\s=\s0x.*)|(pc\s=)|(f30)|(f44)|(f48))
EXPECT=<<EOF
pc
=
pc =
f30
--
pc
=
pc =
f44
x8 = 0x0000000000000000
--
pc
=
pc =
f48
x8 = 0x0000000000000064
EOF
Expand Down Expand Up @@ -204,15 +196,10 @@ EXPECT=<<EOF
x8 = 0x000000000000002a
Result = 1337
EOF
REGEXP_FILTER_ERR=(([a-zA-Z:]+|[0-9a-f][0-9a-f][0-9a-f]\n))
REGEXP_FILTER_ERR=((hit\sbreakpoint\sat:)|(f70\n))
EXPECT_ERR=<<EOF
hit
breakpoint
at:
hit breakpoint at:
f70

Process
finished
EOF
RUN

Expand All @@ -234,19 +221,14 @@ dc
dr pc
dr x8
EOF
REGEXP_FILTER_OUT=(([a-zA-Z:=-]+|[0-9a-f][0-9a-f][0-9a-f]|x[0-9]+ = [a-z0-9]+))
REGEXP_FILTER_OUT=((x8\s=\s0x.*)|(pc\s=)|(f30)|(f44)|(f48))
EXPECT=<<EOF
pc
=
pc =
f30
--
pc
=
pc =
f44
x8 = 0x0000000000000000
--
pc
=
pc =
f48
x8 = 0x0000000000000064
EOF
Expand Down

0 comments on commit aa54f54

Please sign in to comment.