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

Add: Legacy procedural macro integration tests #123

Closed
wants to merge 37 commits into from

Conversation

taqtiqa-mark
Copy link
Contributor

Address issue #81.

These tests reflect the current state of play.

They ensure migrating to the pipeline set out in issue #113,
does not break existing functionality.

Signed-off-by: Mark Van de Vyver [email protected]

This test reflects the current state of play.

Migrating to the pipeline set out in issue tikv#113 will enable this
to be replaced by the more informative text and error location:

error: this attribute takes one argument

         = help: use

 --> tests/ui/has-arguments.rs:3:1
  |
3 | #[trace(a, b)]
  | ^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro
    (in Nightly builds, run with -Z macro-backtrace for more info)

Signed-off-by: Mark Van de Vyver <[email protected]>
Signed-off-by: Mark Van de Vyver <[email protected]>
Address issue tikv#81.

These tests reflect the current state of play.

They ensure migrating to the pipeline set out in issue tikv#113,
does not break existing functionality.

Signed-off-by: Mark Van de Vyver <[email protected]>
Signed-off-by: Mark Van de Vyver <[email protected]>
Signed-off-by: Mark Van de Vyver <[email protected]>
Signed-off-by: Mark Van de Vyver <[email protected]>
Signed-off-by: Mark Van de Vyver <[email protected]>
(cherry picked from commit 79e31c3)
Signed-off-by: Mark Van de Vyver <[email protected]>
(cherry picked from commit 3278339)
Signed-off-by: Mark Van de Vyver <[email protected]>
(cherry picked from commit c66c8c7)
This test reflects the current state of play.

Migrating to the pipeline set out in issue tikv#113 will enable this
to be replaced by the more informative text and error location:

error: this attribute takes one argument

         = help: use

 --> tests/ui/has-arguments.rs:3:1
  |
3 | #[trace(a, b)]
  | ^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro
    (in Nightly builds, run with -Z macro-backtrace for more info)

Signed-off-by: Mark Van de Vyver <[email protected]>
Signed-off-by: Mark Van de Vyver <[email protected]>
@taqtiqa-mark
Copy link
Contributor Author

While I believe these tests could happily land, once the CI configuration issue is resolved, there are a few of reasons to close this PR:

  1. The CI configuration hasn't been resolved, as best I can tell, so there could be some gotcha lurking, and current-self and past-self are becoming estranged by the day :)
  2. These test cases seem destined to eventually migrate to the minitrace-tests crate.
  3. In intervening time, the benefit of these tests are for upstream, with the intervene time costs (see 1.) are for me.

For those reasons... closing.

Happy for this to be re-opened and merged if you want to, but I won't have bandwidth to help with any issues arising from 1. or from PR #127.

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