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

Subversion Repositories fwrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mballance
#!/bin/sh
2
 
3
suite=""
4
echo "" > tests.tl
5
while read line; do
6
  line=`echo $line | sed -e 's/[ \t]*//g'`
7
  is_suite=`echo $line | sed -e 's/.*\.$/true/g'`
8
  if test "x$is_suite" = "xtrue"; then
9
    suite=$line
10
  elif test $suite != "riscv_compliance_tests." && test "x$line" != "x"; then
11
    testfile=`echo ${suite}${line} | sed -e 's/\./_/g'`
12
    echo "--gtest_filter=${suite}${line}" > tests/${testfile}.f
13
    echo "tests/${testfile}.f" >> tests.tl
14
    echo "test: ${suite}${line}"
15
  fi
16
 
17
done
18
 

powered by: WebSVN 2.1.0

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