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

Subversion Repositories sdr_ctrl

[/] [sdr_ctrl/] [trunk/] [verif/] [run/] [regression_analysis] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 33 dinesha
#!/bin/csh -f
2
#
3
#  This files analysis the log files and generat the regression status
4
#
5
 
6
echo "###########################################"
7
echo "  Analysis the Regression Status"
8
echo "############################################"
9
set failedm = 0;
10
set all_testsm = 0;
11
 
12
set sdr_tests =( top_SDR_8BIT_basic_test1 top_SDR_16BIT_basic_test1 top_SDR_32BIT_basic_test1 core_SDR_8BIT_basic_test1 core_SDR_16BIT_basic_test1 core_SDR_32BIT_basic_test1)
13
#set misc_tests=( )
14
 
15
 
16
set i = 0;
17
        echo "###########################################"
18
foreach run_test ($sdr_tests)
19
        @ i += 1;
20
        if (`tail ../log/${run_test}.log | grep PASSED` == "") then
21
          echo "### test ${i}: ${run_test} --> FAILED"
22
          @ failedm += 1;
23
          @ all_testsm += 1;
24
        else
25
          echo "### test ${i}: ${run_test} --> PASSED"
26
          @ all_testsm += 1;
27
        endif
28
end
29
    echo "###########################################"
30
 
31
 
32
set i = 0;
33
echo ""
34
echo "###########################################"
35
echo "###  Test Logs                            "
36
foreach run_test ($sdr_tests)
37
          @ i += 1;
38
          echo "   test ${i}: ../log/${run_test}.log"
39
 
40
end
41
    echo "###########################################"
42
 
43
 
44
echo ""
45
echo "###########################################"
46
echo "###  Test Summary                          "
47
echo "### "
48
echo "### Failed $failedm of $all_testsm tests"
49
echo "###########################################"
50
 

powered by: WebSVN 2.1.0

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