Skip to content

test-launcher is run from build/bin directory, not install bin directory #186

@jeff-cohere

Description

@jeff-cohere

When one uses EkatCreateUnitTest to create a unit test, EKAT uses a script called test-launcher to launch the test. However, EkatCreateUnitTest assumes that it can find test-launcher in the bin subdirectory of your build directory. This is only true if you're building EKAT with add_subdirectory. It will not work if you've installed EKAT somewhere already.

To Reproduce
Steps to reproduce the behavior:

  1. Build EKAT and install it somewhere
  2. Build your EKAT-dependent software, pointing it to the installed version of EKAT
  3. Try to run unit tests created using EkatCreateUnitTest. They will all fail because test-launcher can't be found.

Expected behavior
It would be nice to have EKAT install test-launcher in the bin subdirectory of its CMAKE_INSTALL_PREFIX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions