mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:36:45 +00:00
![]() test_frrscript is run from the `tests` directory and expects the sample lua script `script1.lua` to be present in the `lib` directory. When the package is built out of tree (which always happens when a debian package is built), and scripting is enabled, test fails because the lua file is not present in the `tests/lib/` subdir of the _build_ directory. Fix this by adding `script1.lua` as an extra dependency for `test_frrscript`, and a recipe that copies the file from the source tree to the build tree (note: it needs to be marked ".PHONY" because otherwise `make` thinks that it already exists, in the source tree). After this commit, the following command starts to work: dpkg-buildpackage --build-profiles=pkg.frr.lua -b -uc Signed-off-by: Eugene Crosser <crosser@average.org> |
||
---|---|---|
.. | ||
bgpd | ||
helpers | ||
isisd | ||
lib | ||
ospf6d | ||
ospfd | ||
topotests | ||
zebra | ||
.gitignore | ||
Makefile | ||
pytest.ini | ||
runtests.py | ||
subdir.am |