You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fail early when check_case_sources receives an invalid compiler path #655
tools/check_case_sources.py accepts --wavec, resolves the path, and then calls check_sources. The helper attempts to launch that path once for every manifest source and catches OSError per source.
If the compiler path does not exist or is not launchable, the tool therefore walks the entire corpus and records the same launch failure repeatedly instead of reporting one configuration error before source checking begins.
Scope
Validate the requested compiler path before entering the per-source loop.
Require a compiler file that can be launched on the current platform.
Report one clear top-level error for a missing or unusable compiler.
When --report-json is requested, preserve a valid report with an empty result list and the configuration error rather than emitting one failed record per source.
Preserve per-source OSError handling for failures that occur after a compiler has passed initial validation.
Completion criteria
Tests cover a missing compiler path and an unusable/non-file path.
Invalid compiler configuration fails before any source command is attempted.
The JSON report remains valid and records the single top-level error.
Normal source-check behavior and existing timeout/failure recording remain unchanged.
Activity
fix(tools): validate compiler path before checking case sources (wave…
fix(tools): validate compiler path before checking case sources (#655) (