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

Function get_all_test_processes

ci/util/test_runner.py:746–771  ·  view source on GitHub ↗

Return all processes needed for all tests

(
    args: TestArgs,
    test_categories: TestCategories,
    enable_stack_trace: bool,
    src_code_change: bool,
)

Source from the content-addressed store, hash-verified

744
745
746def get_all_test_processes(
747 args: TestArgs,
748 test_categories: TestCategories,
749 enable_stack_trace: bool,
750 src_code_change: bool,
751) -> list[RunningProcess]:
752 """Return all processes needed for all tests"""
753 processes: list[RunningProcess] = []
754
755 # Add test processes based on categories
756 if test_categories.unit:
757 processes.append(create_unit_test_process(args, enable_stack_trace))
758 if test_categories.examples:
759 processes.append(create_examples_test_process(args, enable_stack_trace))
760 if test_categories.py:
761 processes.append(
762 create_python_test_process(False, run_slow=False, verbose=args.verbose)
763 ) # Disable stack trace for Python tests
764 if test_categories.integration:
765 processes.append(create_integration_test_process(args, enable_stack_trace))
766
767 # Add uno test process if source code changed
768 if src_code_change:
769 processes.append(create_compile_uno_test_process(enable_stack_trace))
770
771 return processes
772
773
774def _extract_test_name(command: str | list[str]) -> str:

Callers

nothing calls this directly

Calls 6

create_unit_test_processFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected