Skip to content

simplify skipping unsupported tests (#4996) #4997

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

Closed
wants to merge 9 commits into from

Conversation

rdeforest
Copy link
Contributor

@rdeforest rdeforest commented Mar 2, 2018

Per discussion on #4893, managing exclusion of tests when newer features are required is currently non-obvious. The goal of this PR is to make maintenance of such exceptions easy and surprise-free.

The existing method was a hard-wired exception for the file 'async.coffee'. When I added async_iterators for #4893 I was surprised because I didn't know about the build:watch:harmony build target nor the hardwired exception in runTests. Now both the feature test and filename match are handled on the same lines near the top of Cakefile.

I included two currently unused pattern/feature pairs to demonstrate the intent and value of this approach. Both will likely be used for #4877 and #4893.

I didn't write a test for this change since it's a change to the test system.

After posting this I'm going to figure out how to remove the extra unrelated empty commits, but I wanted to get this out there before the weekend to follow through on my previous commitment.

@rdeforest
Copy link
Contributor Author

Bah, forgot to push my changes to shorten the diff. Fixing that right away...

@rdeforest
Copy link
Contributor Author

I remembered how to use git merge --squash. Now I'm going to create a new PR with the clean branch and resolve this in favor of that...

@rdeforest
Copy link
Contributor Author

This PR obsoleted by #4998.

@rdeforest rdeforest closed this Mar 3, 2018
@rdeforest rdeforest deleted the master branch March 3, 2018 19:13
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.

1 participant