Skip to content

[Bug] unable to run tests in build dir #767

@fklassen

Description

@fklassen

Describe the bug
If you build in a non-root directory, tests fail

To Reproduce
Steps to reproduce the behaviour:

  1. make distclean
  2. git clean -dfx ./src
  3. mkdir build
  4. cd build
  5. autoreconf --install --force --verbose "${PROJECT_DIR:-..}" 2>&1; /bin/sh "${PROJECT_DIR:-..}/configure" --disable-local-libopts --enable-debug --with-testnic=enp0s5 # assuming adapter name is enp0s5
  6. make
  7. sudo make test

Expected behaviour
everything builds and tests pass

Actual behaviour
tests fail

System (please complete the following information):

  • OS: macOS Ventura
  • Tcpreplay Version 4.4.2

Additional context
Seems to have been failing for a very long time

Metadata

Metadata

Assignees

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