Skip to content

Improve spec helpers, prepare for compiler specs on Windows#9351

Merged
bcardiff merged 8 commits intocrystal-lang:masterfrom
oprypin:specplus
Jun 2, 2020
Merged

Improve spec helpers, prepare for compiler specs on Windows#9351
bcardiff merged 8 commits intocrystal-lang:masterfrom
oprypin:specplus

Conversation

@oprypin
Copy link
Member

@oprypin oprypin commented May 24, 2020

I extracted self-contained parts of #9348 so that this is easier to review

@RX14
Copy link
Member

RX14 commented May 25, 2020

the compiler-specific parts of spec/spec_helper.cr should be moved to spec/compiler/spec_helper.cr.

This PR as-is makes the stdlib spec suite require the compiler source.

@oprypin
Copy link
Member Author

oprypin commented May 25, 2020

It's not compiler-specific, it's for pending_win32. Gotta come up with something else then.

@oprypin
Copy link
Member Author

oprypin commented May 25, 2020

Yeah this is better. Instead of moving it to the top level spec_helper and switching files to use it, I move it to a file that is then required by both spec_helpers

@oprypin
Copy link
Member Author

oprypin commented May 30, 2020

Please review

@straight-shoota straight-shoota added this to the 0.35.0 milestone May 31, 2020
@straight-shoota straight-shoota added kind:specs platform:windows Windows support based on the MSVC toolchain / Win32 API kind:refactor topic:compiler labels May 31, 2020
@bcardiff
Copy link
Member

bcardiff commented Jun 1, 2020

@oprypin this PR is in conflict with master now. Other than that LGTM.

@oprypin
Copy link
Member Author

oprypin commented Jun 1, 2020

third merge is the charm?

@bcardiff bcardiff merged commit dead87b into crystal-lang:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:refactor kind:specs platform:windows Windows support based on the MSVC toolchain / Win32 API topic:compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants