aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/uniqueErrors.sh
blob: fa2c7b4c028d0e4f8bf02d0e23f9ec11c5da4736 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

REPO=$(dirname $0)/..

echo "Finding unique failures..."
(
for x in $*
do
  echo -n $x " # "
  # This subshell is a workaround to prevent the shell from printing
  # "Aborted"
  ("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1
done
) | sort -u -t'#' -k 2