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

Update InvalidateAPISpec tests. #714

Merged
merged 1 commit into from
Nov 6, 2017
Merged

Update InvalidateAPISpec tests. #714

merged 1 commit into from
Nov 6, 2017

Conversation

ucbjrl
Copy link
Contributor

@ucbjrl ucbjrl commented Nov 3, 2017

Use DontCare on outs not ins in InvalidateAPISpec.
Add additional InvalidateAPISpec tests demonstrating selective override of Strict/NotStrict behavior.

Makefile Outdated
@@ -57,7 +57,7 @@ ifneq (,$(RM_DIRS))
endif

scaladoc:
$(SBT) $(SBT_FLAGS) doc
$(SBT) $(SBT_FLAGS) unidoc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the effect of this change? Is there a difference between "sbt doc" and "sbt unidoc"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sbt unidoc generates scaladoc for all subprojects. If you look at the scaladoc generated by sbt doc, you'll find it's missing the definitions from coremacros and more importantly, chiselFrontend.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point; would be nice to put this into the commit message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the PR body to mention this.

@ucbjrl
Copy link
Contributor Author

ucbjrl commented Nov 3, 2017

I suppose this really should be broken up into two commits:

  • one for the unidoc change
  • one for the InvalidateAPISpec changes.

@edwardcwang
Copy link
Contributor

Seems like a good idea.

Use DontCare on `outs` not `ins` in InvalidateAPISpec.
Add additional InvalidateAPISpec tests demonstrating selective override of Strict/NotStrict behavior.
@ucbjrl ucbjrl changed the title Default to unidoc for scaladoc generation. Update InvalidateAPISpec tests. Nov 3, 2017
@ucbjrl ucbjrl merged commit 7e6e7ef into master Nov 6, 2017
@ucbjrl ucbjrl deleted the invalidateapispecdoc branch November 6, 2017 17:28
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.

2 participants