Commit f84f3ab1 authored by Christophe Favergeon's avatar Christophe Favergeon
Browse files

Corrected some failing tests

parent c5b23d5c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ arm_status arm_mfcc_q15(
    // q15
    arm_absmax_q15(pSrc,S->fftLen,&m,&index);

    if (m !=0)
    if ((m != 0) && (m != 0x7FFF))
    {
       q15_t quotient;
       int16_t shift;
@@ -162,7 +162,7 @@ arm_status arm_mfcc_q15(

    }

    if (m != 0)
    if ((m != 0) && (m != 0x7FFF))
    {
      arm_scale_q31(pTmp,m<<16,0,pTmp,S->nbMelFilters);
    }
+2 −2
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ arm_status arm_mfcc_q31(
    // q31
    arm_absmax_q31(pSrc,S->fftLen,&m,&index);

    if (m !=0)
    if ((m != 0) && (m != 0x7FFFFFFF))
    {
       q31_t quotient;
       int16_t shift;
@@ -165,7 +165,7 @@ arm_status arm_mfcc_q31(

    }

    if (m != 0)
    if ((m != 0) && (m != 0x7FFFFFFF))
    {
      arm_scale_q31(pTmp,m,0,pTmp,S->nbMelFilters);
    }
+4 −4
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ fast models.
      {
        Testing::TestStatus finalResult = Testing::kTestPassed;
        int nbTests = s->getNbTests();
        int failedTests=0;
        //int failedTests=0;
        Testing::errorID_t error=0;
        unsigned long line = 0;
        char details[200];
@@ -378,7 +378,7 @@ fast models.

            if (result == Testing::kTestFailed)
            {
              failedTests ++;
              //failedTests ++;
              finalResult = Testing::kTestFailed;
            }
        }
@@ -392,7 +392,7 @@ fast models.
      Testing::TestStatus IORunner::run(Group *g) 
      {
        int nbTests = g->getNbContainer();
        int failedTests=0;
        //int failedTests=0;


        // Read Node identification
@@ -411,7 +411,7 @@ fast models.

                if (result == Testing::kTestFailed)
                {
                   failedTests ++;
                   //failedTests ++;
                   finalResult = Testing::kTestFailed;
                }
            }
+1261 −0

File added.

Preview size limit exceeded, changes collapsed.

+16 −14
Original line number Diff line number Diff line
@@ -160,11 +160,11 @@ for t in tests:
# Test suite and output pickle needed to decode the result
#print(allSuites)

allSuites=[("MFCCF32","../Output.pickle"),
("MFCCQ31","../Output.pickle"),
("MFCCQ15","../Output.pickle"),
("MFCCF16","../Output_f16.pickle"),
]
#allSuites=[
#("MFCCQ15","../Output.pickle"),
#("MFCCQ31","../Output.pickle"),
#("SupportTestsF16","../Output_f16.pickle"),
#]

#allSuites=[("ComplexTestsF32","../Output.pickle"),
#("DistanceTestsF32","../Output.pickle"),
@@ -204,10 +204,10 @@ solutions={
    'test_ac6.csolution.yml':[
    #  ("VHT-Corstone-310","CS310"),
      ("VHT-Corstone-300","CS300"),
    #  #("VHT_M33","M33_DSP_FP"),
      ("VHT_M33","M33_DSP_FP"),
      ("VHT_M7","M7DP"),
      ("VHT_M7_UNROLLED","M7DP"),
    #  #("VHT_M4","M4FP"),
      ("VHT_M4","M4FP"),
    #  #("VHT_M3","M3"),
    #  #("VHT_M23","M23"),
      ("VHT_M0P","M0plus")
@@ -218,7 +218,7 @@ solutions={
      ##("VHT_M33","M33_DSP_FP"),
      ("VHT_M7","M7DP"),
      ("VHT_M7_UNROLLED","M7DP"),
      ##("VHT_M4","M4FP"),
      ("VHT_M4","M4FP"),
      ##("VHT_M3","M3"),
      ##("VHT_M23","M23"),
      ("VHT_M0P","M0plus")
@@ -226,12 +226,14 @@ solutions={
}

# Override previous solutions for more restricted testing.
solutions={
    'test_ac6.csolution.yml':[
    #  ("VHT-Corstone-310","CS310"),
      ("VHT-Corstone-300","CS300"),
    ]
}
#solutions={
#    'test_ac6.csolution.yml':[
#    #  ("VHT-Corstone-310","CS310"),
#      ("VHT_M7","M7DP"),
#      ("VHT_M7_UNROLLED","M7DP"),
#      ("VHT_M0P","M0plus")
#    ]
#}

HTMLHEADER="""<html>
<header>
Loading