Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove expect tests for ecmaref compilation output (Closes #241)
The compiled interpreter generate a massive cesl program. Because of this, when we change anything in the ecmaref interpreters the expect tests of the ecmaref compilation command generate massive diffs. To address this, we simply run `ecma-sl compile` and disregard the compilation artifact into `dev/null`. This way, we rely on the parser and typechecker to verify the validity of the esl program. If any of these fail, the error messages (reported on stderr) will appear in the expect test. Reducing diffs of PR that modify the ecmaref interpreters while ensuring that the CI catches any errors.
- Loading branch information