Merge pull request #8649 from ton31337/fix/unify-naming-for-topotests-directory

tests: Rename tests/topotests directories to be consistent
This commit is contained in:
Donald Sharp 2021-05-13 07:26:15 -04:00 committed by GitHub
commit 16a8eb4d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2086 changed files with 11 additions and 8 deletions

View File

@ -19,3 +19,4 @@ c14777c6bfd0a446c85243d3a9835054a259c276
96244aca23adec551c29b78f26605f8af8eea53e 96244aca23adec551c29b78f26605f8af8eea53e
8451921b70044a2c1075e7ba391f095fabee2550 8451921b70044a2c1075e7ba391f095fabee2550
bf8d3d6aca3f20255a621ed1c148fd05b3a8ae5c bf8d3d6aca3f20255a621ed1c148fd05b3a8ae5c
96941f80927ce31a41f7d1905717f099187be723

View File

@ -22,7 +22,7 @@ jobs:
- docker ps - docker ps
- docker exec frr-ubuntu18 bash -c 'cd ~/frr ; make check' - docker exec frr-ubuntu18 bash -c 'cd ~/frr ; make check'
- docker exec frr-ubuntu18 bash -c 'ps agxu ; lsmod | grep mpls || true' - docker exec frr-ubuntu18 bash -c 'ps agxu ; lsmod | grep mpls || true'
- docker exec frr-ubuntu18 bash -c 'cd ~/frr/tests/topotests/ospf-topo1 ; sudo pytest test_ospf_topo1.py' - docker exec frr-ubuntu18 bash -c 'cd ~/frr/tests/topotests/ospf_topo1 ; sudo pytest test_ospf_topo1.py'
- docker exec frr-ubuntu18 bash -c 'cd ~/frr/tests/topotests/bgp_l3vpn_to_bgp_vrf ; sudo pytest test_bgp_l3vpn_to_bgp_vrf.py' - docker exec frr-ubuntu18 bash -c 'cd ~/frr/tests/topotests/bgp_l3vpn_to_bgp_vrf ; sudo pytest test_bgp_l3vpn_to_bgp_vrf.py'
name: ubuntu18+minimalCI name: ubuntu18+minimalCI
- script: - script:
@ -34,7 +34,7 @@ jobs:
- docker ps - docker ps
- docker exec frr-ubuntu20 bash -c 'cd ~/frr ; make check' - docker exec frr-ubuntu20 bash -c 'cd ~/frr ; make check'
- docker exec frr-ubuntu20 bash -c 'ps agxu ; lsmod | grep mpls || true' - docker exec frr-ubuntu20 bash -c 'ps agxu ; lsmod | grep mpls || true'
- docker exec frr-ubuntu20 bash -c 'cd ~/frr/tests/topotests/ospf-topo1 ; sudo pytest test_ospf_topo1.py' - docker exec frr-ubuntu20 bash -c 'cd ~/frr/tests/topotests/ospf_topo1 ; sudo pytest test_ospf_topo1.py'
- docker exec frr-ubuntu20 bash -c 'cd ~/frr/tests/topotests/bgp_l3vpn_to_bgp_vrf ; sudo pytest test_bgp_l3vpn_to_bgp_vrf.py' - docker exec frr-ubuntu20 bash -c 'cd ~/frr/tests/topotests/bgp_l3vpn_to_bgp_vrf ; sudo pytest test_bgp_l3vpn_to_bgp_vrf.py'
name: ubuntu20+minimalCI name: ubuntu20+minimalCI

View File

@ -882,6 +882,8 @@ Example:
Requirements: Requirements:
- Directory name for a new topotest must not contain hyphen (``-``) characters.
To separate words, use underscores (``_``). For example, `tests/topotests/bgp_new_example`.
- Test code should always be declared inside functions that begin with the - Test code should always be declared inside functions that begin with the
``test_`` prefix. Functions beginning with different prefixes will not be run ``test_`` prefix. Functions beginning with different prefixes will not be run
by pytest. by pytest.

Some files were not shown because too many files have changed in this diff Show More