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

Added Unit Test for Workspace Generation #1882

Merged
merged 1 commit into from
May 16, 2022

Conversation

nickclark2016
Copy link
Member

@nickclark2016 nickclark2016 commented May 15, 2022

Follow up on #1876.

What does this PR do?

Adds unit test, makes sure all escaping uses p.esc in the gmake workspace generation.

How does this PR change Premake's behavior?

N/A

Anything else we should know?

N/A

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

@nickclark2016
Copy link
Member Author

This is a follow on to that PR. Had ported my changes back from my 6.x working area, and noticed a few differences in v5 that needed clean up and a unit test. Should be g2g with this. I'll close on Monday or Tuesday unless someone has comments or closes before me.

@nickclark2016 nickclark2016 force-pushed the issues/1876-followup branch 2 times, most recently from c057afb to 5c12218 Compare May 16, 2022 11:58
@nickclark2016
Copy link
Member Author

Okay, I think I've got the major test cases covered for spaces in the path and the project file name, just let me know if you want me to put in any more cases before we merge this in.

@nickclark2016
Copy link
Member Author

Thanks again for the review. I'm gonna leave it open until the end of the day for comments, then I'll merge.

@nickclark2016 nickclark2016 merged commit e7ad311 into premake:master May 16, 2022
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.

None yet

2 participants