Skip to content

Fix testdata hie.yaml generation #517

Closed
@jneira

Description

@jneira

But now I'm stumped as to how the tests are working in the first place even

@bubba @fendor @isovector me too, analyzing the test code and data:

  • Most tests are being ignored so although there is no hie.yaml, they pass
  • Working tests (eval, tactic, etc) have a hie.yaml in its subdirectory, despite they were intended to be ignored with

# ignore hie.yaml's for testdata
test/testdata/**/hie.yaml

I suppose they were added with git add --force. 😺

  • Moreover the hie.yaml generated by setupBuildToolFiles will not work anymore, as they should include modules explicitly

So, i would ignore hie.yaml's but:

  • setupBuildToolFiles has to include auto all modules in the directory where it is about to be created (not sure if it would be feasible)
  • specific tests should call a version of setupDirectFilesIn with a new parameter with the modules to add in the direct cradle
    • and remove the generic setupBuildToolFiles, or add the modules for each test suite there

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions