Skip to content

Tests.ex: 'Invalid filename' when adding test modules #1479

Closed
@petermm

Description

@petermm

For more elixir testing we need to use various test modules in Tests.ex.

TIL sub/nested modules included in Tests.ex, doesn't work due using elixirc for compilation.

In #1476 I include them in exavmlib (they will go in own testexavmlib, but to minimise moving parts while resolving this issue, they are in exavmlib).

This leads to these warnings: (failing to parse filename?)

Invalid filename: expected filename data (27008 bytes).
Invalid filename: expected filename data (27008 bytes).
Invalid filename: expected filename data (27008 bytes).
Invalid filename: expected filename data (18719 bytes).

Tests/runtime still works, however when crashing with a stacktrace, it will segfault due to filenames having been set to NULL.

Any guidance?

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