Skip to content

Disable decompilation and recompilation tests #6310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/contributing/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ with `with-compiler` in their name.

### From TASTy tests

`testCompilation` has a additional mode to run tests that compile code from a `.tasty` file, decompile a `.tasty` file and recompile the decompiled tasty.
`testCompilation` has a additional mode to run tests that compile code from a `.tasty` file.
Modify blacklist and whitelists in `compiler/test/dotc` to enable or disable tests from `.tasty` files.

```bash
$ sbt
> testCompilation --from-tasty
```

This mode can be combined with `--update-checkfiles` to update the `.decompiled` files or can be run under `dotty-compiler-bootstrapped/testCompilation` to test on a bootstrapped Dotty compiler.
This mode can be run under `dotty-compiler-bootstrapped/testCompilation` to test on a bootstrapped Dotty compiler.