mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 14:38:53 +00:00
Reported by @SamuelReeder on #7056. --compare ignored --json, --write-baseline and --baseline; a --baseline path that does not exist was accepted and produced empty numbers; and naming one file for both baseline flags let a run that failed the limit replace the reference it failed against, so the same workload passed on the retry. All three are now parser errors, with the reason in the message. --compare also refuses to compare two trees whose measurements do not cover the same programs (a skipped program read as a ratio that looks like a win) and reports an empty corpus instead of dividing by nothing. Tests: the three refusals, an aliased baseline, a missing baseline file.