Skip to content

Need a better way to find the short name of a package #187

@steve-downey

Description

@steve-downey
Running check [Requirement][directory.tests] ...
[error          ][directory.tests          ]: The directory '/home/sdowney/src/Optional26/beman-tidy/tests/beman/beman-tidy' does not exist.                                                                                                                              [error          ][directory.tests          ]: Please manually move test files to the tests/beman/<short_name> directory. See https://github.com/bemanproject/beman/blob/main/docs/beman_standard.md#directorytests for more information.

Optional26 was the ancient name for the package, it remaining is because cmake emits full paths and I haven't got around to changing it.

beman-tidy however is the branch I'm working on to make optional pass the beman-tidy tests.

We shouldn't assume that the local path name for a checkout is the name of the project under beman, nor should we assume that the short name is identical to the project name, as that is over-coupling.

We may need some additional metadata stashed somewhere, or reuse the names under include or src ?

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