OpenCores
URL https://opencores.org/ocsvn/fwrisc/fwrisc/trunk

Subversion Repositories fwrisc

[/] [fwrisc/] [trunk/] [ve/] [fwrisc_fpga/] [sim/] [scripts/] [status.sh] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mballance
#!/bin/sh
2
#****************************************************************************
3
#* status.sh
4
#****************************************************************************
5
 
6
testname=$1
7
seed=$2
8
 
9
if test ! -f simx.log; then
10
  echo "FAIL: $testname - no simx.log"
11
else
12
  n_passed=`grep "PASSED: $testname" simx.log | wc -l`
13
  n_failed=`grep "FAILED: $testname" simx.log | wc -l`
14
 
15
  if test $n_passed -eq 1 && test $n_failed -eq 0; then
16
    echo "PASSED: $testname"
17
  elif test $n_failed -ne 0; then
18
    echo "FAILED: $testname ($n_failed)"
19
  else
20
    echo "FAILED: $testname ($n_passed $n_failed)"
21
  fi
22
fi
23
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.