solidity/scripts/uniqueErrors.sh

15 lines
286 B
Bash
Raw Normal View History

2017-02-24 18:33:05 +00:00
#!/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
2017-02-24 18:33:05 +00:00
done
) | sort -u -t'#' -k 2