-
Notifications
You must be signed in to change notification settings - Fork 19
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
Set -Anomsgtext by default for all tests #212
Conversation
framework-test/src/main/java/org/checkerframework/framework/test/TypecheckExecutor.java
Show resolved
Hide resolved
framework-test/src/main/java/org/checkerframework/framework/test/TypecheckResult.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Please also mention this in the changelog.
framework-test/src/main/java/org/checkerframework/framework/test/TypecheckResult.java
Show resolved
Hide resolved
framework-test/src/main/java/org/checkerframework/framework/test/TypecheckResult.java
Outdated
Show resolved
Hide resolved
framework-test/src/main/java/org/checkerframework/framework/test/TypecheckExecutor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, just two small comments.
@@ -137,7 +137,6 @@ protected CheckerFrameworkPerDirectoryTest( | |||
this.testDir = "tests" + File.separator + testDir; | |||
this.classpathExtra = classpathExtra; | |||
this.checkerOptions = new ArrayList<>(Arrays.asList(checkerOptions)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.checkerOptions = new ArrayList<>(Arrays.asList(checkerOptions)); | |
this.checkerOptions = Arrays.asList(checkerOptions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try whether this works? Now that this doesn't add anything to the list, wrapping in a new ArrayList shouldn't be necessary.
Co-authored-by: Werner Dietl <wdietl@gmail.com>
No description provided.