Skip to content

packunused doesn't find -tmp dir for detailed-0.9 test suites #19

@timbodeit

Description

@timbodeit

Inside my .cabal file I have defined a test-suite with type: detailed-0.9.

Cabals standart behavior when building this test suite seems to be that it appends the word Stub to the name of the test suite.
For my test-suite named tests, the .imports file is at dist/build/testsStub/testsStub-tmp/Main.imports instead of dist/build/tests/tests-tmp/Main.imports, where packunused is looking for it.

packunused throws the following error:

packunused: user error (output-dir "dist/build/tests/tests-tmp" does not exist; -- has 'cabal build' been performed yet? (see also 'packunused --help'))

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