This reverts commit 05d14774be.
pull/2759/head
parent
2204d67260
commit
4654a50365
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
fail=false
|
||||
while read l
|
||||
do
|
||||
echo "$l"
|
||||
if echo "$l" | grep -qP '\[(warning|error)\]'
|
||||
then
|
||||
fail=true;
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $fail = true ]
|
||||
then
|
||||
echo
|
||||
echo "💀 The tests are logging, please capture logs. See:"
|
||||
echo " - https://hexdocs.pm/ex_unit/1.12/ExUnit.CaptureLog.html"
|
||||
echo " - https://hexdocs.pm/ex_unit/1.12/ExUnit.Case.html#module-known-tags"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Reference in New Issue