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

Greatly speed up doctests by compiling compatible doctests in one file #126245

Merged
merged 48 commits into from
Aug 14, 2024

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    05fbfde View commit details
    Browse the repository at this point in the history
  2. Add DocTest type

    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5e24437 View commit details
    Browse the repository at this point in the history
  3. Simplify doctest tests

    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    7d72482 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39f029a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    96051f2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6ae3524 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    58cd70e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3147520 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    23badff View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b7079c5 View commit details
    Browse the repository at this point in the history
  11. If there is any AST error with a doctest, we make it a standalone test

    To do so, AST error detection was improved in order to not filter out
    too many doctests.
    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    a0ae8ac View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    59a9e09 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7ec3cab View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2fd8d1c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    010731d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    03118fa View commit details
    Browse the repository at this point in the history
  17. Greatly improve handling of doctests attributes, making it possible t…

    …o merge doctests more efficiently
    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    6eabffb View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b6831bb View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    dcc77b4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0f0681e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    995858e View commit details
    Browse the repository at this point in the history
  22. Mark location doctest as standalone since file information will not w…

    …ork in merged doctest file
    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    475824d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ec4d910 View commit details
    Browse the repository at this point in the history
  24. If no argument is provided to merged doctests binary, they will be ru…

    …n in the same process (needed for miri)
    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    c5ae545 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    0bd2c99 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    112e447 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    14f80f9 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    84d9b67 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    6d552ba View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    bfabf1d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d512438 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    1e1743a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    ffc18c5 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    0fbc32c View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    a3bc2c7 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    72aeffa View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    4b1db07 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ab3d90e View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    baf8ce8 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    c9f730e View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    cbf6fe0 View commit details
    Browse the repository at this point in the history
  42. Add doctest to ensure that doctests with crate-level attributes are n…

    …ot part of merged doctest
    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    7dcb841 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    903d2db View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    a708d0b View commit details
    Browse the repository at this point in the history
  45. Run fmt

    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    f1c1c49 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    488614d View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    1d75f78 View commit details
    Browse the repository at this point in the history
  48. Fix intra-doc link

    GuillaumeGomez committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    05fb8ff View commit details
    Browse the repository at this point in the history