[test] Remove test/spec/expected-output. NFC#7385
Conversation
1956998 to
204d512
Compare
|
Looks like they're still used by other tests. |
204d512 to
ea87500
Compare
|
Am I wrong about this? Do we care about the output of these tests in this way? |
For some reason these 4 tests had expected output but no others. The spec tests work based on internal assertions so comparing output should not be needed.
ea87500 to
e632d4b
Compare
|
It seems like if we do care about the stdout of the tests we should care about all of them, not just these 4. |
|
I think the stdout is only checked in these tests because they're the only ones that print e.g. func_ptrs.wast. The logic for printing is sort of special: link. Do we have something else that will exercise the logic if we remove these tests? |
|
Good point, yes. It would be annoying if we should detect failures of the Does the upstream spec tests check output like this though? Its seems odd that we could add golden files for tests that are based on assertions instead. Maybe a better approach would be write some specific tests for the I'll abandon this PR I think since these golden files kind of act as a test for the |
Running the upstream spec tests does produce e.g. |
For some reason these 4 tests had expected output but no others. The spec tests work based on internal assertions so comparing output should not be needed.