You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we find optimizer bugs that have a precise test case we can run. It would be good to be able to drop input and expected output files into a directory so we can test; e.g.
Then the harness would run the input file, as an executable, and cmp its output to the expected output. If the optimizer changes we might get spurious diffs but we should be seeing the changes, and a simple makefile rule can regenerate expected output. Dunno. Point being, we should let the property tester find the bugs, and the regression tests keep them from happening again.
The text was updated successfully, but these errors were encountered:
Sometimes we find optimizer bugs that have a precise test case we can run. It would be good to be able to drop input and expected output files into a directory so we can test; e.g.
regression-tests/foo
regression-tests/foo.expected
Then the harness would run the input file, as an executable, and
cmp
its output to the expected output. If the optimizer changes we might get spurious diffs but we should be seeing the changes, and a simple makefile rule can regenerate expected output. Dunno. Point being, we should let the property tester find the bugs, and the regression tests keep them from happening again.The text was updated successfully, but these errors were encountered: