mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Script for filtering unique failures.
This commit is contained in:
parent
9acfdb8044
commit
41360ccd57
14
scripts/uniqueErrors.sh
Executable file
14
scripts/uniqueErrors.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user