Comment 27191 on #1543, correction 27192. Candidate afb2ae0e. Co-Authored-By: Claude Opus 5.5 <[email protected]>
9 lines
531 B
Bash
Executable File
9 lines
531 B
Bash
Executable File
#!/bin/bash
|
|
# Prints each mutant's result and the test lines its failures point at.
|
|
M=~/darkwing-scratch/r54b/r2/mut
|
|
grep -E '^[DE][0-9][0-9] ' $M/summary.txt | while read -r id res rest; do
|
|
sites=$(sed -n '/failing tests:/,$p' $M/$id.txt | grep -oE 'tests/[a-z0-9-]+\.test\.mjs:[0-9]+' | grep -v ':1$' | sort -u | tr '\n' ' ')
|
|
names=$(sed -n '/failing tests:/,$p' $M/$id.txt | grep -E '^✖ ' | grep -v 'failing tests' | sed -E 's/^✖ //; s/ \([0-9.]+ms\)$//' | sort -u | tr '\n' '|')
|
|
echo "$id $res | $sites| $names"
|
|
done
|