diff options
| author | David Lamparter <equinox@diac24.net> | 2020-04-30 21:33:58 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-02-23 16:56:58 +0100 | 
| commit | 36a8fdfd74c82103055e097296ee03363adfa06d (patch) | |
| tree | 3c42f5cc2b14e726a8270fb17470d1be2419ee2a /python/runtests.py | |
| parent | 5609b3af497c44d980aad2bc7d6332dedd7974e7 (diff) | |
python/xrelfo: the ELF xref extractor
This creates JSON dumps of all the xref structs littered around FRR.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'python/runtests.py')
| -rw-r--r-- | python/runtests.py | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/python/runtests.py b/python/runtests.py new file mode 100644 index 0000000000..bcf650b329 --- /dev/null +++ b/python/runtests.py @@ -0,0 +1,14 @@ +import pytest +import sys +import os + +try: +    import _clippy +except ImportError: +    sys.stderr.write('''these tests need to be run with the _clippy C extension +module available.  Try running "clippy runtests.py ...". +''') +    sys.exit(1) + +os.chdir(os.path.dirname(os.path.abspath(__file__))) +raise SystemExit(pytest.main(sys.argv[1:]))  | 
