Skip to content

Test cases are not generated because of uncovered process exit status #3

Closed
@lppedd

Description

@lppedd

spawnSync returns an object containing a status property.

The exit code of the subprocess, or null if the subprocess terminated due to a signal.

However you're only checking for 0.
I'm not sure what subprocess terminated due to a signal means, but that's the case I see on my laptop.

Probably it's because I'm using Node through Gradle? Who knows.

https://github.com/mike-lischke/antlr-tgen/blob/95e0cd25790d95038c0da696a9275c7db75d0277/src/Generator.ts#L249

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