mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-24 06:07:19 -04:00
do case insensitive grepping when checking tests
This commit is contained in:
parent
90619fd80b
commit
0de8beca5b
1 changed files with 4 additions and 4 deletions
|
@ -38,10 +38,10 @@ echo "checking files:"
|
|||
ls "${1}"*.log
|
||||
|
||||
# check for patterns
|
||||
NUM_PASSED=`grep -s "SUCCESS" ${1}*.log | wc -l`
|
||||
NUM_FAILED=`grep -s "FAILED" ${1}*.log | wc -l`
|
||||
NUM_FATAL=`grep -s "Fatal:" ${1}*.log | wc -l`
|
||||
NUM_ERROR=`grep -s "Error:" ${1}*.log | wc -l`
|
||||
NUM_PASSED=`grep -i -s "SUCCESS" ${1}*.log | wc -l`
|
||||
NUM_FAILED=`grep -i -s "FAILED" ${1}*.log | wc -l`
|
||||
NUM_FATAL=`grep -i -s "Fatal:" ${1}*.log | wc -l`
|
||||
NUM_ERROR=`grep -i -s "Error:" ${1}*.log | wc -l`
|
||||
|
||||
echo "NUM_TOTAL: $NUM_TOTAL"
|
||||
echo "NUM_PASSED: $NUM_PASSED"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue