]> git.proxmox.com Git - mirror_frr.git/blame - python/runtests.py
Merge pull request #12818 from imzyxwvu/fix/other-table-inactive
[mirror_frr.git] / python / runtests.py
CommitLineData
36a8fdfd
DL
1import pytest
2import sys
3import os
4
5try:
6 import _clippy
7except ImportError:
00f0c399
DL
8 sys.stderr.write(
9 """these tests need to be run with the _clippy C extension
36a8fdfd 10module available. Try running "clippy runtests.py ...".
00f0c399
DL
11"""
12 )
36a8fdfd
DL
13 sys.exit(1)
14
15os.chdir(os.path.dirname(os.path.abspath(__file__)))
16raise SystemExit(pytest.main(sys.argv[1:]))