Commit 54bd724f authored by Guillem Cabo's avatar Guillem Cabo
Browse files

fix spyglass script

parent e5c347b7
...@@ -17,8 +17,8 @@ if [ $? -ne 0 ]; then ...@@ -17,8 +17,8 @@ if [ $? -ne 0 ]; then
exit 3 exit 3
fi fi
# check if there is a result file # check if there is a result file
echo "$TOP/consolidated_reports/lint_lint_rtl/moresimple.rpt" echo "$TOP/consolidated_reports/${TOP}_lint_lint_rtl/moresimple.rpt"
test -f $TOP/consolidated_reports/${TOP}lint_lint_rtl/moresimple.rpt || exit 2 test -f $TOP/consolidated_reports/${TOP}_lint_lint_rtl/moresimple.rpt || exit 2
# Check outcome # Check outcome
printf "UNIT - : ${BLUE} $TOP ${BLUE}${NC}\n" printf "UNIT - : ${BLUE} $TOP ${BLUE}${NC}\n"
cat $TOP/consolidated_reports/${TOP}lint_lint_rtl/moresimple.rpt | grep -i 'error\|Syntax' | GREP_COLORS='mt=01;31' egrep -i --color=always error\|syntax cat $TOP/consolidated_reports/${TOP}lint_lint_rtl/moresimple.rpt | grep -i 'error\|Syntax' | GREP_COLORS='mt=01;31' egrep -i --color=always error\|syntax
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment