URL
https://opencores.org/ocsvn/sdr_ctrl/sdr_ctrl/trunk
Subversion Repositories sdr_ctrl
Compare Revisions
- This comparison shows the changes necessary to convert path
/sdr_ctrl/trunk/verif/run
- from Rev 29 to Rev 33
- ↔ Reverse comparison
Rev 29 → Rev 33
/regression_analysis
0,0 → 1,50
#!/bin/csh -f |
# |
# This files analysis the log files and generat the regression status |
# |
|
echo "###########################################" |
echo " Analysis the Regression Status" |
echo "############################################" |
set failedm = 0; |
set all_testsm = 0; |
|
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) |
#set misc_tests=( ) |
|
|
set i = 0; |
echo "###########################################" |
foreach run_test ($sdr_tests) |
@ i += 1; |
if (`tail ../log/${run_test}.log | grep PASSED` == "") then |
echo "### test ${i}: ${run_test} --> FAILED" |
@ failedm += 1; |
@ all_testsm += 1; |
else |
echo "### test ${i}: ${run_test} --> PASSED" |
@ all_testsm += 1; |
endif |
end |
echo "###########################################" |
|
|
set i = 0; |
echo "" |
echo "###########################################" |
echo "### Test Logs " |
foreach run_test ($sdr_tests) |
@ i += 1; |
echo " test ${i}: ../log/${run_test}.log" |
|
end |
echo "###########################################" |
|
|
echo "" |
echo "###########################################" |
echo "### Test Summary " |
echo "### " |
echo "### Failed $failedm of $all_testsm tests" |
echo "###########################################" |
|
regression_analysis
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: run_all
===================================================================
--- run_all (revision 29)
+++ run_all (revision 33)
@@ -46,3 +46,5 @@
echo " INITIATING SDR 8 BIT Tests"
echo ##############################
./run_modelsim top SDR_8BIT | tee ../log/top_sdr8_sim.log
+
+./regression_analysis