Script for filtering unique failures.

This commit is contained in:
chriseth 2017-02-24 19:33:05 +01:00
parent 9acfdb8044
commit 41360ccd57

14
scripts/uniqueErrors.sh Executable file
View File

@ -0,0 +1,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/solfuzzer < "$x" || true) 2>&1 | head -n 1
done
) | sort -u -t'#' -k 2