Skip to content

Commit 3851364

Browse files
committed
Fix exit/signal specifications in enum-trace1
The patterns were being used without anchoring to the beginning or end of the line.
1 parent e6f659d commit 3851364

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

regression/cbmc-cover/branch-loop1/test.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ CORE
22
main.c
33
--xml-ui --cover branch
44
activate-multi-line-match
5-
EXIT=0
6-
SIGNAL=0
5+
^EXIT=0$
6+
^SIGNAL=0$
77
</inputs>\n\s*<goal id="main\.coverage\.1"/>\n\s*<goal id="main\.coverage\.2"/>\n\s*<goal id="main\.coverage\.3"/>\n\s*<goal id="main\.coverage\.5"/>\n\s*</test>
88
--
99
^warning: ignoring

regression/cbmc/enum-trace1/test_json.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ CORE
22
main.c
33
--json-ui --function test --trace
44
activate-multi-line-match
5-
EXIT=10
6-
SIGNAL=0
5+
^EXIT=10$
6+
^SIGNAL=0$
77
VERIFICATION FAILED
88
\{\n\s*"hidden": false,\n\s*"inputID": "e",\n\s*"internal": true,\n\s*"mode": "C",\n\s*"sourceLocation": \{(\n.*)*\},\n\s*"stepType": "input",\n\s*"thread": 0,\n\s*"values": \[\n\s*\{\n\s*"binary": "000000000000000000000000000000(0|1){2}",\n\s*"data": ".*E(1|2|3)",\n\s*"name": "integer",\n\s*"type": "enum",\n\s*"width": 32\n\s*\}\n\s*\]\n\s*\},
99
\{\n\s*"hidden": false,\n\s*"inputID": "t",\n\s*"internal": true,\n\s*"mode": "C",\n\s*"sourceLocation": \{(\n.*)*\},\n\s*"stepType": "input",\n\s*"thread": 0,\n\s*"values": \[\n\s*\{\n\s*"binary": "000000000000000000000000000000(0|1){2}",\n\s*"data": ".*T(1|2|3)",\n\s*"name": "integer",\n\s*"type": "enum",\n\s*"width": 32\n\s*\}\n\s*\]\n\s*\},

regression/cbmc/enum-trace1/test_xml.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ CORE
22
main.c
33
--xml-ui --function test --trace
44
activate-multi-line-match
5-
EXIT=10
6-
SIGNAL=0
5+
^EXIT=10$
6+
^SIGNAL=0$
77
VERIFICATION FAILED
88
<input hidden="false" step_nr="\d+" thread="0">\n\s*<input_id>e</input_id>\n\s*<value>.*E(1|2|3)</value>\n\s*<value_expression>\n\s*<integer binary="000000000000000000000000000000(0|1){2}" c_type="enum" width="32">(0|1|2)</integer>\n\s*</value_expression>
99
<input hidden="false" step_nr="\d+" thread="0">\n\s*<input_id>t</input_id>\n\s*<value>.*T(1|2|3)</value>\n\s*<value_expression>\n\s*<integer binary="000000000000000000000000000000(0|1){2}" c_type="enum" width="32">(0|1|2)</integer>\n\s*</value_expression>

regression/cbmc/function-return-no-body1/test.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ CORE
22
main.c
33
--xml-ui
44
activate-multi-line-match
5-
EXIT=10
6-
SIGNAL=0
5+
^EXIT=10$
6+
^SIGNAL=0$
77
VERIFICATION FAILED
88
<function_call hidden="false" step_nr="18" thread="0">\n\s*<function display_name="no_body" identifier="no_body">
99
<function_return hidden="false" step_nr="19" thread="0">\n\s*<function display_name="no_body" identifier="no_body">

0 commit comments

Comments
 (0)