Skip to content

META::test_ct values don't match the MOO format docs #3

@Zalathar

Description

@Zalathar

While poking around in the 80286 test files (as of 37c73ca), I noticed that the values in the META chunk's test_ct field don't match the description in the 1.1 format documentation.

Specifically, the META::test_ct docs say that the field should contain the number of tests in the current file (and match the test count in the MOO chunk), but in practice the META::test_ct field appears to instead contain a cumulative total of all tests in the suite, up to and including the current file.

For example:

  • 00.MOO.gz has MOO::test_count = 5000 and META::test_ct = 5000 as expected.
  • 01.MOO.gz has MOO::test_count = 5000, but META::test_ct = 10000.
  • 02.MOO.gz has MOO::test_count = 5000, but META::test_ct = 15000, and so on.

I'm not sure whether this is a problem in the test files themselves, or in the format docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions