diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2020-09-29 12:05:45 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-09-29 12:16:54 +0200 |
commit | b69d84882b391888e62ec8982981d9392cc29b82 (patch) | |
tree | 16d5496077fbf5efaa3b3f146869c44a7672aea7 /tests/subdir.am | |
parent | Merge pull request #7164 from AnuradhaKaruppiah/mh-misc-fixes (diff) | |
download | frr-b69d84882b391888e62ec8982981d9392cc29b82.tar.xz frr-b69d84882b391888e62ec8982981d9392cc29b82.zip |
tests: skip tests when building without daemon
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to '')
-rw-r--r-- | tests/subdir.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/subdir.am b/tests/subdir.am index 2cdb214f0..d7318efc7 100644 --- a/tests/subdir.am +++ b/tests/subdir.am @@ -12,8 +12,10 @@ TESTS_BGPD = \ tests/bgpd/test_mp_attr \ tests/bgpd/test_mpath \ tests/bgpd/test_bgp_table +IGNORE_BGPD = else TESTS_BGPD = +IGNORE_BGPD = --ignore=bgpd/ endif if ISISD @@ -23,16 +25,20 @@ TESTS_ISISD = \ tests/isisd/test_isis_spf \ tests/isisd/test_isis_vertex_queue \ # end +IGNORE_ISISD = else TESTS_ISISD = +IGNORE_ISISD = --ignore=isisd/ endif if OSPF6D TESTS_OSPF6D = \ tests/ospf6d/test_lsdb \ # end +IGNORE_OSPF6D = else TESTS_OSPF6D = +IGNORE_OSPF6D = --ignore=ospf6d/ endif clippy_scan += \ @@ -368,7 +374,7 @@ EXTRA_DIST += \ .PHONY: tests/tests.xml tests/tests.xml: $(check_PROGRAMS) - ( cd tests; $(PYTHON) ../$(srcdir)/tests/runtests.py --junitxml=tests.xml -v ../$(srcdir)/tests; ) + ( cd tests; $(PYTHON) ../$(srcdir)/tests/runtests.py --junitxml=tests.xml -v ../$(srcdir)/tests $(IGNORE_BGPD) $(IGNORE_ISISD) $(IGNORE_OSPF6D); ) check: tests/tests.xml clean-local: clean-tests |