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

Create a separate build for running the format tests #374

Closed
wants to merge 1 commit into from

Conversation

GrayHatter
Copy link

@GrayHatter GrayHatter commented Jan 1, 2017

This change is Reviewable

@GrayHatter GrayHatter force-pushed the formatting branch 4 times, most recently from d65fc28 to 2ccaf86 Compare January 1, 2017 05:52
@GrayHatter GrayHatter modified the milestone: v0.1.3 Jan 1, 2017
@robinlinden
Copy link
Member

:lgtm_strong:


Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@iphydf
Copy link
Member

iphydf commented Jan 2, 2017

This adds 1.5 minutes to the total build time. Can we put the formatting check at the beginning of the build (in addition to it being a test for the local use case)? That way, it'll terminate early with incorrect formatting.

The real fix is this: TokTok/hs-github-tools#36

@GrayHatter
Copy link
Author

@iphydf I'm not sure what you're asking for here? can you enumerate the changes you want?

@iphydf
Copy link
Member

iphydf commented Jan 3, 2017

  • Remove the new build.
  • Add other/astyle/format-source to early in the cmake build. format-source already exits with error on diff.

@iphydf
Copy link
Member

iphydf commented Jan 4, 2017

Once you do that, rename the PR (and commit).

@iphydf iphydf changed the title Create a seperate build for to run the format tests Create a separate build for to run the format tests Jan 4, 2017
@iphydf iphydf changed the title Create a separate build for to run the format tests Create a separate build for running the format tests Jan 4, 2017
@iphydf iphydf self-assigned this Jan 5, 2017
@iphydf iphydf modified the milestones: v0.1.3, v0.1.4 Jan 5, 2017
@iphydf iphydf modified the milestone: v0.1.6 Jan 16, 2017
@iphydf iphydf closed this Jan 20, 2017
@iphydf
Copy link
Member

iphydf commented Jan 20, 2017

Moved to #450.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants