Skip to content

Commit c0a47e3

Browse files
committed
Fix data-flow1 test
This checked for a hardcoded location number, but that varied from build to build due to nondeterministic ordering of functions in a the GOTO binary file. Instead just check for the right number of dependencies.
1 parent a44b420 commit c0a47e3

File tree

1 file changed

+1
-1
lines changed
  • regression/goto-instrument/data-flow1

1 file changed

+1
-1
lines changed

regression/goto-instrument/data-flow1/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ main.c
33
"--show-dependence-graph"
44
^EXIT=0$
55
^SIGNAL=0$
6-
Data dependencies: .*33.*
6+
Data dependencies: *[0-9]\+,[0-9]\+,[0-9]\+
77
--
88
^warning: ignoring

0 commit comments

Comments
 (0)