mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 23:29:36 +00:00
tests: add feature to not run ospfd test when opted out
Signed-off-by: Basha Mougamadou <b.mougamadou@criteo.com>
This commit is contained in:
parent
a876da9b08
commit
34a2283431
@ -35,8 +35,10 @@ if OSPFD
|
|||||||
TESTS_OSPFD = \
|
TESTS_OSPFD = \
|
||||||
tests/ospfd/test_ospf_spf \
|
tests/ospfd/test_ospf_spf \
|
||||||
# end
|
# end
|
||||||
|
IGNORE_OSPFD =
|
||||||
else
|
else
|
||||||
TESTS_OSPFD =
|
TESTS_OSPFD =
|
||||||
|
IGNORE_OSPFD = --ignore=ospfd/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OSPF6D
|
if OSPF6D
|
||||||
@ -486,7 +488,7 @@ endif
|
|||||||
|
|
||||||
.PHONY: tests/tests.xml
|
.PHONY: tests/tests.xml
|
||||||
tests/tests.xml: $(check_PROGRAMS)
|
tests/tests.xml: $(check_PROGRAMS)
|
||||||
( cd tests; $(PYTHON) ../$(srcdir)/tests/runtests.py --junitxml=tests.xml -v ../$(srcdir)/tests $(IGNORE_BGPD) $(IGNORE_ISISD) $(IGNORE_OSPF6D); )
|
( cd tests; $(PYTHON) ../$(srcdir)/tests/runtests.py --junitxml=tests.xml -v ../$(srcdir)/tests $(IGNORE_BGPD) $(IGNORE_ISISD) $(IGNORE_OSPFD) $(IGNORE_OSPF6D); )
|
||||||
check: tests/tests.xml
|
check: tests/tests.xml
|
||||||
|
|
||||||
clean-local: clean-tests
|
clean-local: clean-tests
|
||||||
|
Loading…
Reference in New Issue
Block a user