Skip to content

Commit

Permalink
Script for filtering unique failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Feb 24, 2017
1 parent 9acfdb8 commit 41360cc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/uniqueErrors.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 41360cc

Please sign in to comment.