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

test_runner: add TAP parser #43525

Merged
merged 98 commits into from Nov 21, 2022
Merged

Commits on Nov 19, 2022

  1. test_runner: add initial TAP parser

    Work in progress
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    a9412ce View commit details
    Browse the repository at this point in the history
  2. test_runner: wip

    manekinekko committed Nov 19, 2022
    Copy the full SHA
    487ccd4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    605a29c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    01ecd07 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    3b01d1c View commit details
    Browse the repository at this point in the history
  6. test_runner: tap parser

    fix escaping
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    3951075 View commit details
    Browse the repository at this point in the history
  7. test_runner: tap parser

    improve comment parsing
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    61dc763 View commit details
    Browse the repository at this point in the history
  8. test_runner: tap parser

    improve chars escaping
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    23b0e10 View commit details
    Browse the repository at this point in the history
  9. test_runner: tap parser

    generate internal test IDs
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    660cf7f View commit details
    Browse the repository at this point in the history
  10. test_runner: tap parser

    more improvements to chars escaping
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    dfbaedd View commit details
    Browse the repository at this point in the history
  11. test_runner: tap parser

    simplify AST
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    37d9ecf View commit details
    Browse the repository at this point in the history
  12. test_runner: tap parser

    add support for YAML blocks
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    4a8c65b View commit details
    Browse the repository at this point in the history
  13. test_runner: tap parser

    add support for bail out
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    3ee7515 View commit details
    Browse the repository at this point in the history
  14. test_runner: tap parser

    add support for pragmas
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    2416978 View commit details
    Browse the repository at this point in the history
  15. test_runner: tap parser

    add support for subtests
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    0ece7b0 View commit details
    Browse the repository at this point in the history
  16. test_runner: tap parser

    refactor subtest logic
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    9ab6884 View commit details
    Browse the repository at this point in the history
  17. test_runner: tap parser

    improve subtest parsing logic
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    517a908 View commit details
    Browse the repository at this point in the history
  18. test_runner: tap parser

    add more tests
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    9475fa9 View commit details
    Browse the repository at this point in the history
  19. test_runner: tap parser

    ignore empty comments
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    3833046 View commit details
    Browse the repository at this point in the history
  20. test_runner: tap parser

    fix parsing of tests at root level
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    62246df View commit details
    Browse the repository at this point in the history
  21. test_runner: tap parser

    parse dashes in comments
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    e4b2e9b View commit details
    Browse the repository at this point in the history
  22. test_runner: tap parser

    fix missing leading whitespaces in YAML content
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    5ed3ca3 View commit details
    Browse the repository at this point in the history
  23. test_runner: tap parser

    add node parallel tests for lexer
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    7acf083 View commit details
    Browse the repository at this point in the history
  24. Copy the full SHA
    a0d5a8e View commit details
    Browse the repository at this point in the history
  25. Copy the full SHA
    0a1924a View commit details
    Browse the repository at this point in the history
  26. Copy the full SHA
    65ae33c View commit details
    Browse the repository at this point in the history
  27. Copy the full SHA
    c8406cc View commit details
    Browse the repository at this point in the history
  28. Copy the full SHA
    09ce126 View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    bc02445 View commit details
    Browse the repository at this point in the history
  30. Copy the full SHA
    e7217b0 View commit details
    Browse the repository at this point in the history
  31. test_runner: multiple changes

    - use private fields
    - refactor YAML logic
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    f5a5d50 View commit details
    Browse the repository at this point in the history
  32. test_runner: multiple changes in lexer

    - use private fields in lexer
    - remove dead code
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    8a77263 View commit details
    Browse the repository at this point in the history
  33. Copy the full SHA
    aa9ce96 View commit details
    Browse the repository at this point in the history
  34. test_runner: add initial stream parsing foundation

    Co-authored-by: @MoLow
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    32028b9 View commit details
    Browse the repository at this point in the history
  35. Copy the full SHA
    4f2392a View commit details
    Browse the repository at this point in the history
  36. Copy the full SHA
    86d554b View commit details
    Browse the repository at this point in the history
  37. test_runner: rename level to nesting

    co-authored-by: @MoLow
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    ff3e1a5 View commit details
    Browse the repository at this point in the history
  38. Copy the full SHA
    7e65f67 View commit details
    Browse the repository at this point in the history
  39. Copy the full SHA
    b05921f View commit details
    Browse the repository at this point in the history
  40. Copy the full SHA
    8684a53 View commit details
    Browse the repository at this point in the history
  41. test_runner: remove unnecessary async

    Co-authored-by: Moshe Atlow <moshe@atlow.co.il>
    manekinekko and MoLow committed Nov 19, 2022
    Copy the full SHA
    a6051d2 View commit details
    Browse the repository at this point in the history
  42. Copy the full SHA
    5090016 View commit details
    Browse the repository at this point in the history
  43. Copy the full SHA
    7a56b6e View commit details
    Browse the repository at this point in the history
  44. Copy the full SHA
    83c5d05 View commit details
    Browse the repository at this point in the history
  45. Copy the full SHA
    4a2e830 View commit details
    Browse the repository at this point in the history
  46. test_runner: add regex parser

    Co-authored-by: @MoLow
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    2a5c87b View commit details
    Browse the repository at this point in the history
  47. Copy the full SHA
    7a5a6a2 View commit details
    Browse the repository at this point in the history
  48. Copy the full SHA
    1714ed8 View commit details
    Browse the repository at this point in the history
  49. Copy the full SHA
    c75d215 View commit details
    Browse the repository at this point in the history
  50. Copy the full SHA
    24f5463 View commit details
    Browse the repository at this point in the history
  51. Copy the full SHA
    84b9608 View commit details
    Browse the repository at this point in the history
  52. test_runner: Update doc/api/test.md

    Co-authored-by: Rich Trott <rtrott@gmail.com>
    manekinekko and Trott committed Nov 19, 2022
    Copy the full SHA
    b7d58d6 View commit details
    Browse the repository at this point in the history
  53. test_runner: Update doc/api/test.md

    Co-authored-by: Rich Trott <rtrott@gmail.com>
    manekinekko and Trott committed Nov 19, 2022
    Copy the full SHA
    92a1ff7 View commit details
    Browse the repository at this point in the history
  54. Copy the full SHA
    a73a2c8 View commit details
    Browse the repository at this point in the history
  55. test_runner: update tests

    manekinekko committed Nov 19, 2022
    Copy the full SHA
    2c4996a View commit details
    Browse the repository at this point in the history
  56. test_runner: migrate to primordials

    Refactor Parser/Lexer/Checker to produce/consume a flat AST.
    The previous recursive AST needed quite a lot of DFS traversing
    which could introduce performance/maintenance issues.
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    62d42e7 View commit details
    Browse the repository at this point in the history
  57. Copy the full SHA
    7bdd9fc View commit details
    Browse the repository at this point in the history
  58. Copy the full SHA
    a724ebb View commit details
    Browse the repository at this point in the history
  59. Copy the full SHA
    0d2f1b7 View commit details
    Browse the repository at this point in the history
  60. Copy the full SHA
    ee914de View commit details
    Browse the repository at this point in the history
  61. test_runner: scanTAPkeyword -> scanTAPKeyword

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    d3f5b73 View commit details
    Browse the repository at this point in the history
  62. test_runner: address code review

    Co-authored-by: @cjihrig
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    d33b5c6 View commit details
    Browse the repository at this point in the history
  63. test_runner: fix typo

    manekinekko committed Nov 19, 2022
    Copy the full SHA
    153a1eb View commit details
    Browse the repository at this point in the history
  64. Copy the full SHA
    2522806 View commit details
    Browse the repository at this point in the history
  65. Copy the full SHA
    75607bf View commit details
    Browse the repository at this point in the history
  66. Copy the full SHA
    abb9841 View commit details
    Browse the repository at this point in the history
  67. Copy the full SHA
    754289b View commit details
    Browse the repository at this point in the history
  68. Copy the full SHA
    2959e52 View commit details
    Browse the repository at this point in the history
  69. Copy the full SHA
    882ac35 View commit details
    Browse the repository at this point in the history
  70. test_runner: emit diagnostic data with test points

    Also updated the lexer to better detect EOL and new lines
    manekinekko committed Nov 19, 2022
    Copy the full SHA
    8b9aeb8 View commit details
    Browse the repository at this point in the history
  71. Copy the full SHA
    addc228 View commit details
    Browse the repository at this point in the history
  72. Copy the full SHA
    880eacd View commit details
    Browse the repository at this point in the history
  73. Copy the full SHA
    e78a43f View commit details
    Browse the repository at this point in the history
  74. Copy the full SHA
    b68be46 View commit details
    Browse the repository at this point in the history
  75. Copy the full SHA
    88d63da View commit details
    Browse the repository at this point in the history
  76. Copy the full SHA
    eef13be View commit details
    Browse the repository at this point in the history
  77. Copy the full SHA
    3281172 View commit details
    Browse the repository at this point in the history
  78. Update test/parallel/test-runner-tap-checker.js

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    5500967 View commit details
    Browse the repository at this point in the history
  79. Update lib/internal/test_runner/tap_stream.js

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    84048d3 View commit details
    Browse the repository at this point in the history
  80. Update lib/internal/test_runner/tap_stream.js

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    05966ea View commit details
    Browse the repository at this point in the history
  81. Update test/message/test_runner_output_cli.js

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    5d17b66 View commit details
    Browse the repository at this point in the history
  82. Update lib/internal/test_runner/tap_checker.js

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    6a9c2db View commit details
    Browse the repository at this point in the history
  83. Copy the full SHA
    815619d View commit details
    Browse the repository at this point in the history
  84. Copy the full SHA
    e87ea14 View commit details
    Browse the repository at this point in the history
  85. Copy the full SHA
    7391efa View commit details
    Browse the repository at this point in the history
  86. Copy the full SHA
    87fb339 View commit details
    Browse the repository at this point in the history
  87. Copy the full SHA
    07aa2cb View commit details
    Browse the repository at this point in the history
  88. Copy the full SHA
    002e780 View commit details
    Browse the repository at this point in the history
  89. Copy the full SHA
    bb6dcf8 View commit details
    Browse the repository at this point in the history
  90. Copy the full SHA
    56d7cec View commit details
    Browse the repository at this point in the history
  91. Copy the full SHA
    7559958 View commit details
    Browse the repository at this point in the history
  92. test_runner: clean console logs

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    manekinekko and cjihrig committed Nov 19, 2022
    Copy the full SHA
    7a606e6 View commit details
    Browse the repository at this point in the history
  93. Copy the full SHA
    c454f9b View commit details
    Browse the repository at this point in the history
  94. Copy the full SHA
    8c83787 View commit details
    Browse the repository at this point in the history
  95. test_runner: add aduh95 suggestions from code review

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    manekinekko and aduh95 committed Nov 19, 2022
    Copy the full SHA
    4194651 View commit details
    Browse the repository at this point in the history
  96. Copy the full SHA
    962fae8 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. test_runner: get rid of the unused code blocks in TAPChecker tests

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    manekinekko and aduh95 committed Nov 21, 2022
    Copy the full SHA
    d355e4c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4f5bbc2 View commit details
    Browse the repository at this point in the history