MCPcopy Create free account
hub / github.com/FDio/vpp / run_ring_buffer_tests

Function run_ring_buffer_tests

src/vpp-api/python/vpp_papi/vpp_stats.py:1556–1577  ·  view source on GitHub ↗

Run ring buffer tests with proper setup

()

Source from the content-addressed store, hash-verified

1554
1555
1556def run_ring_buffer_tests():
1557 """Run ring buffer tests with proper setup"""
1558 print("Running Ring Buffer Tests...")
1559 print("=" * 50)
1560
1561 # Create test suite
1562 suite = unittest.TestSuite()
1563
1564 # Add ring buffer tests
1565 suite.addTest(unittest.makeSuite(TestRingBuffer))
1566 suite.addTest(unittest.makeSuite(TestRingBufferIntegration))
1567
1568 # Run tests
1569 runner = unittest.TextTestRunner(verbosity=2)
1570 result = runner.run(suite)
1571
1572 print("=" * 50)
1573 print(f"Tests run: {result.testsRun}")
1574 print(f"Failures: {len(result.failures)}")
1575 print(f"Errors: {len(result.errors)}")
1576
1577 return result.wasSuccessful()
1578
1579
1580def demo_ring_buffer_schema():

Callers 1

vpp_stats.pyFile · 0.85

Calls 3

printFunction · 0.85
addTestMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected