Topic
  • 8 replies
  • Latest Post - ‏2013-08-28T11:08:08Z by 79E8_Jaiganesh_Jayaraman
sunil.gowda
sunil.gowda
6 Posts

Pinned topic RTRT Tool qualification -- ATC test cases failed

‏2012-03-05T10:32:01Z |
Hi All,

I have developed the TDP for processor TMS570LS20216 and complier “cl470.exe”

Now I am executing the Tool qualification kit provided by IBM (IBM Rational Test RealTime Qualification Kit 7.5.0.0).

When I execute the ATC following test cases are failed
Failed test case set 1:
• CC1_INP_002
• CC1_OUT_001
• CC1_RIK_002
• INT_TYC_002

Reason for fail:
“TestRT attolcci: "file.c",line 6: warning #940-D: missing return statement at
< end of non-void function "f"”
Failed test case set 2:
• INT_TYC_009

Reason for fail:
“TestRT attolcci: "file.c",line 38: warning #174-D: expression has no effect
< tata && "titi" "toto" == "titi" "tutu";”
Failed test case set 3:
• INT_LAU_002
• INT_LAU_003
• INT_LAU_004
• INT_LAU_005
• INT_LAU_007
• INT_LAU_008

Reason for fail:
> WARNING: invalid compiler option -E (ignored)
< http://file.i
< Fatal error: could not open source file "file.i"
< 1 fatal error detected in the compilation of "file.i".
< Compilation terminated.
Failed test case set 4:
• INT_LAU_006

Reason for fail:
< Result buffer size reduced to 1024 chars

< #define ATL_BUFFER_SIZE 1024
---
> #define ATL_BUFFER_SIZE 16384
So now my question is,
• Is all the above failure are valid?
• Please correct me if I am wrong, I think “Failed test case set 1, 2 and 3” are complier dependent. If they are compiler dependent failures how do I make them pass.
• “Failed test case set 4”: I have modified the size of ATL_BUFFER_SIZE, so I think that’s the reason this test cases is failing. How do I make this test case pass.
PS: All the ATU test cases are passed.

Thanks in advance.
Sunil
Updated on 2013-04-05T19:49:47Z at 2013-04-05T19:49:47Z by richard.france
  • richard.france
    richard.france
    862 Posts

    Re: RTRT Tool qualification -- ATC test cases failed

    ‏2012-03-05T11:01:43Z  
    your TDP need to have
    --diag_suppress 174,940

    and you need to exclude the INT_LAU test or chenage the attolcc.pl
  • sunil.gowda
    sunil.gowda
    6 Posts

    Re: RTRT Tool qualification -- ATC test cases failed

    ‏2012-03-05T12:56:49Z  
    your TDP need to have
    --diag_suppress 174,940

    and you need to exclude the INT_LAU test or chenage the attolcc.pl
    Thanks for the response Richard.

    I tried your suggestion by adding the --diag_suppress=174,940 to the “DEFAULT_CFLAGS” of my TDP….but still I am getting same errors.

    For INT_LAU… I deleted file attolcc.pl from my TDP …now INT_LAU test cases are listed as N/A.
    Thanks
    Sunil
  • richard.france
    richard.france
    862 Posts

    Re: RTRT Tool qualification -- ATC test cases failed

    ‏2012-03-05T13:26:47Z  
    Thanks for the response Richard.

    I tried your suggestion by adding the --diag_suppress=174,940 to the “DEFAULT_CFLAGS” of my TDP….but still I am getting same errors.

    For INT_LAU… I deleted file attolcc.pl from my TDP …now INT_LAU test cases are listed as N/A.
    Thanks
    Sunil
    sorry, I believed you have TDP knowledge to be able to determine the meaning of my comment.

    --diag_suppress=174,940
    must be added into the TDP > Parser Settings > Analyzer file configuration
    and not into the DEFAULT_CFLAGS that are flags for your compiler.

    explanation about INT_LAU_xxx: those test are the executed to test the command line interface attolcc that you apparently do not use. So It is simpler to remove this CLI from your TDP and so these test becomes Not Applicable.
  • sunil.gowda
    sunil.gowda
    6 Posts

    Re: RTRT Tool qualification -- ATC test cases failed

    ‏2012-03-06T06:36:38Z  
    sorry, I believed you have TDP knowledge to be able to determine the meaning of my comment.

    --diag_suppress=174,940
    must be added into the TDP > Parser Settings > Analyzer file configuration
    and not into the DEFAULT_CFLAGS that are flags for your compiler.

    explanation about INT_LAU_xxx: those test are the executed to test the command line interface attolcc that you apparently do not use. So It is simpler to remove this CLI from your TDP and so these test becomes Not Applicable.
    Thanks for your response Richard.

    Now all the test cases in ATU and ATC are passing.

    But when I observed the tool qual results following test cases status are listed as N/A… can you please provide me the reason why their status is N/A.

    In ATU:
    • POSTPRO_08
    • PREPRO_59

    In ATC:
    • CC1_OPT_007
    • CC1_OPT_013
    • COV_COM_011

    Thanks
    Sunil
  • SystemAdmin
    SystemAdmin
    2260 Posts

    RTRT Tool qualification -- ATU test cases failed

    ‏2013-03-13T05:50:08Z  
    sorry, I believed you have TDP knowledge to be able to determine the meaning of my comment.

    --diag_suppress=174,940
    must be added into the TDP > Parser Settings > Analyzer file configuration
    and not into the DEFAULT_CFLAGS that are flags for your compiler.

    explanation about INT_LAU_xxx: those test are the executed to test the command line interface attolcc that you apparently do not use. So It is simpler to remove this CLI from your TDP and so these test becomes Not Applicable.
    Hi Richard,

    I am doing RTRT tool qualification 7.5.0.4 for the TDP developed for PIC24F128GA106. Around 30 test cases are failing for the the reason copied below. The processor supports data memory of 23040 bytes in data space. Is the memory not sufficient enough to allocate for data section?

    pic30-gcc.exe -mcpu=24FJ128GA106 -T p24FJ128GA106.gld "PIC24F128GA106_v3.31/Tnominal.obj" "PIC24F128GA106_v3.31/TP.obj" -o "PIC24F128GA106_v3.31/nominal.cof" -Wl -L "-LC:\Program Files\Microchip\MPLAB C30\lib" -g -Wl,--heap=512
    PIC24F128GA106_v3.31/TP.obj: Link Error: Could not allocate section .nbss, size = 7188 bytes, attributes = bss near
    Link Error: Could not allocate data memory

    ATU test cases that are failed:
    Test case number: Test case type
    28 CONST_01
    82 IF_11
    85 IF_09
    86 IF_13 and so on...

    Thank you,
    Jaiganesh
  • richard.france
    richard.france
    862 Posts

    Re: RTRT Tool qualification -- ATC test cases failed

    ‏2013-04-05T19:48:02Z  
    Thanks for your response Richard.

    Now all the test cases in ATU and ATC are passing.

    But when I observed the tool qual results following test cases status are listed as N/A… can you please provide me the reason why their status is N/A.

    In ATU:
    • POSTPRO_08
    • PREPRO_59

    In ATC:
    • CC1_OPT_007
    • CC1_OPT_013
    • COV_COM_011

    Thanks
    Sunil
    N/A those test are Not Application to your environment (I guess you are using Windows)
  • richard.france
    richard.france
    862 Posts

    Re: RTRT Tool qualification -- ATU test cases failed

    ‏2013-04-05T19:49:47Z  
    Hi Richard,

    I am doing RTRT tool qualification 7.5.0.4 for the TDP developed for PIC24F128GA106. Around 30 test cases are failing for the the reason copied below. The processor supports data memory of 23040 bytes in data space. Is the memory not sufficient enough to allocate for data section?

    pic30-gcc.exe -mcpu=24FJ128GA106 -T p24FJ128GA106.gld "PIC24F128GA106_v3.31/Tnominal.obj" "PIC24F128GA106_v3.31/TP.obj" -o "PIC24F128GA106_v3.31/nominal.cof" -Wl -L "-LC:\Program Files\Microchip\MPLAB C30\lib" -g -Wl,--heap=512
    PIC24F128GA106_v3.31/TP.obj: Link Error: Could not allocate section .nbss, size = 7188 bytes, attributes = bss near
    Link Error: Could not allocate data memory

    ATU test cases that are failed:
    Test case number: Test case type
    28 CONST_01
    82 IF_11
    85 IF_09
    86 IF_13 and so on...

    Thank you,
    Jaiganesh
    hi Jaiganesh,
    can you provide more detail on the errors !!!
    see the curent thread to see what kind of detail I need
  • 79E8_Jaiganesh_Jayaraman
    7 Posts

    Re: RTRT Tool qualification -- ATU test cases failed

    ‏2013-08-28T11:08:08Z  
    hi Jaiganesh,
    can you provide more detail on the errors !!!
    see the curent thread to see what kind of detail I need

    hi richard,

    I am doing tool qual for f28335 target. Following tests in ATU package are failing.

    1. FORMAT_01_FLOAT
    2. VAR_ARRAY_STR_30
    3. RUNTIME_02_FLOAT
    4. RUNTIME_09_FLOAT
    5. RUNTIME_10_FLOAT

    Test no.2 passes if  I don't select RTRT_SPRINTF and enabling data types for INT64 and UINT64. But this forces Test case 3 to fail. If I don't make these changes in TDP for test 2, test 3 passes without any issue.

    C28x compiler defines double data type should be of 32 bits instead of 64 bits. 

    Please help.