Skip to content

Commit 15b89fc

Browse files
author
thk123
committed
Weaked the tests for pointer-function-parameters
As we now regenerate the entry point, variable names have changed. This means these tests don't fail for this.
1 parent dee89b0 commit 15b89fc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

regression/cbmc/pointer-function-parameters-2/test.desc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ main.c
44
^\*\* 7 of 7 covered \(100.0%\)$
55
^\*\* Used 4 iterations$
66
^Test suite:$
7-
^a=\(\(signed int \*\*\)NULL\), tmp\$1=[^,]*, tmp\$2=[^,]*$
8-
^a=&tmp\$1!0, tmp\$1=\(\(signed int \*\)NULL\), tmp\$2=[^,]*$
9-
^a=&tmp\$1!0, tmp\$1=&tmp\$2!0, tmp\$2=([012356789][0-9]*|4[0-9]+)$
10-
^a=&tmp\$1!0, tmp\$1=&tmp\$2!0, tmp\$2=4$
7+
^a=\(\(signed int \*\*\)NULL\), tmp\$\d+=[^,]*, tmp\$\d+=[^,]*$
8+
^a=&tmp\$\d+!0, tmp\$\d+=\(\(signed int \*\)NULL\), tmp\$\d+=[^,]*$
9+
^a=&tmp\$\d+!0, tmp\$\d+=&tmp\$\d+!0, tmp\$\d+=([012356789][0-9]*|4[0-9]+)$
10+
^a=&tmp\$\d+!0, tmp\$\d+=&tmp\$\d+!0, tmp\$\d+=4$
1111
--
1212
^warning: ignoring

regression/cbmc/pointer-function-parameters/test.desc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ main.c
44
^\*\* 5 of 5 covered \(100\.0%\)$
55
^\*\* Used 3 iterations$
66
^Test suite:$
7-
^a=\(\(signed int \*\)NULL\), tmp\$1=[^,]*$
8-
^a=&tmp\$1!0, tmp\$1=4$
9-
^a=&tmp\$1!0, tmp\$1=([012356789][0-9]*|4[0-9]+)$
7+
^a=\(\(signed int \*\)NULL\), tmp\$\d+=[^,]*$
8+
^a=&tmp\$\d+!0, tmp\$\d+=4$
9+
^a=&tmp\$\d+!0, tmp\$\d+=([012356789][0-9]*|4[0-9]+)$
1010
--
1111
^warning: ignoring

0 commit comments

Comments
 (0)