Skip to content
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

Partest file should express tool flags and outputs #7310

Closed
scabug opened this issue Mar 28, 2013 · 3 comments
Closed

Partest file should express tool flags and outputs #7310

scabug opened this issue Mar 28, 2013 · 3 comments

Comments

@scabug
Copy link

scabug commented Mar 28, 2013

The "test file" should encode the test itself and any tool flags and outputs used by the test runner (heretofore, .flags and .check).

Test output may be specific to a test run by depending on tool flags or the platform on which the test is run.

@scabug
Copy link
Author

scabug commented Mar 28, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7310?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.0-M2

@scabug
Copy link
Author

scabug commented Mar 28, 2013

@som-snytt said:
Implementation of simple diff output filter.

scala/scala#2332

@som-snytt
Copy link

Test files support // scalac: -Xsource:3 style pragmas and other features since scala/scala@99b4d95 and recently updated to support cli // using option syntax.

The check file directives are a nuisance when updating the file, so they have fallen out of favor. One use case was for differential output when -optimise was on.

REPL SessionTest is handy for putting test and result in the same file.

filter files are still in use.

@SethTisue SethTisue modified the milestones: Backlog, 2.13.12 Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants