MCPcopy Create free account
hub / github.com/FastLED/FastLED / main

Function main

ci/test_all_lint_caches_stress.py:410–441  ·  view source on GitHub ↗

Run all stress tests.

()

Source from the content-addressed store, hash-verified

408
409
410def main() -> int:
411 """Run all stress tests."""
412 print("\n" + "=" * 70)
413 print("COMPREHENSIVE LINT CACHE STRESS TEST SUITE")
414 print("=" * 70)
415
416 test = CacheLintStressTest()
417
418 try:
419 test_python_lint_cache_rapid_changes(test)
420 test_javascript_lint_cache(test)
421 test_cpp_lint_cache_rapid_changes(test)
422 test_all_caches_consistency(test)
423 test_cache_file_storage(test)
424 test_manifest_completeness(test)
425 test_cache_performance_all_caches(test)
426 test_concurrent_cache_access(test)
427
428 success = test.print_summary()
429 return 0 if success else 1
430
431 except KeyboardInterrupt as ki:
432 handle_keyboard_interrupt(ki)
433 raise
434 print("\n\n⚠️ Test suite interrupted by user")
435 return 2
436 except Exception as e:
437 print(f"\n\n💥 Unexpected error: {e}")
438 import traceback
439
440 traceback.print_exc()
441 return 3
442
443
444if __name__ == "__main__":

Callers 1

Tested by

no test coverage detected