mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 13:43:22 +00:00 
			
		
		
		
	This creates JSON dumps of all the xref structs littered around FRR. Signed-off-by: David Lamparter <equinox@diac24.net>
		
			
				
	
	
		
			15 lines
		
	
	
		
			336 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			336 B
		
	
	
	
		
			Python
		
	
	
	
	
	
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:]))
 |