-
Notifications
You must be signed in to change notification settings - Fork 15
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
tests: Run tests with G_DEBUG=fatal-warnings #134
Conversation
5ee14d5
to
dd15295
Compare
@kgrubb Did you give it some thoughts? |
@kgrubb It is not strictly about the changes, but the way the test-suite works. Manually creating Vala symbols might be too error prone. And using actual code-snippets would be better. That way a proper Vala AST can be used. |
@ricotz Is there a direct way to parse only a string, but not a complete Vala-sourcefile? |
@pantor no, currently not |
I've moved all unit tests to file tests, so we don't create Vala symbols manually anymore. |
@pantor Please fix these warnings. $ _build/src/io.elementary.vala-lint
.test/FileTest.vala
38.120 warn Line exceeds limit of 120 characters (currently 129 characters) line-length
53.120 warn Line exceeds limit of 120 characters (currently 151 characters) line-length
56.120 warn Line exceeds limit of 120 characters (currently 155 characters) line-length
64.120 warn Line exceeds limit of 120 characters (currently 154 characters) line-length
67.120 warn Line exceeds limit of 120 characters (currently 151 characters) line-length
70.120 warn Line exceeds limit of 120 characters (currently 169 characters) line-length
73.120 warn Line exceeds limit of 120 characters (currently 163 characters) line-length
76.120 warn Line exceeds limit of 120 characters (currently 154 characters) line-length |
Warnings should be all fixed now. |
No description provided.