This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1224: SDL-CSP-LS12-NOLDRA cannot run unit tests using SafetyLibraryTAU

Part Number: TMS570LS1224

Hello,

I have obtained an LDRA eval license in order to execute the SafeTI Lib unit tests using SafetyLibraryTAU. Unfortunately the build fails. I have attached the log.

  • I am on Windows 10
  • I have tried StrawberryPerl, both 32 and 64 bit versions
  • I use LDRAunit-TI-Qual_C_CPP_9.4.3
  • I use CCS11 (has a 20.x LTS compiler)

What I gather from the log:

  • Some Perl variables are undefined
  • The set for LDRA appears empty

I did not find anything in the manual that would have enabled me to solve this issue.

I also tried to use LDRA directly but I got stuck there, too.

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

Generating Make file for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.xlsx ...  MakeFile Generation Passed
Generating TCF file for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.xlsx...Name "main::Procedure" used only once: possible typo at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 881.
Use of uninitialized value $TCF_Description in scalar chomp at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 597.
readline() on closed filehandle SYSEARCH at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 1929.
readline() on closed filehandle SYSPPVAR at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 1911.
Use of uninitialized value $TCF_Description in concatenation (.) or string at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 718.
3Qt: Untested Windows version 6.2 detected!
----------------------------
Initialising License started
----------------------------
-----------------------------
Initialising License finished
-----------------------------

Unable to retrieve generic license information
...Logging on

Command line specifies invalid file(s) for addition to the set:
C:\ti\Hercules\SafeTI
C:\ti\Hercules\SafeTI
C:\ti\Hercules\SafeTI
C:\ti\Hercules\SafeTI
C:\ti\Hercules\SafeTI
C:\ti\Hercules\SafeTI
----------------------------------------------
Loading set TMS570LS12x_SafeTI_Library started
----------------------------------------------
-----------------------------------------------
Loading set TMS570LS12x_SafeTI_Library finished
-----------------------------------------------

Command line:
 "C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\Conunit-ti-qual.exe" TMS570LS12x_SafeTI_Library /create_set=system /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_selftest.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_init.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_esm.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_log.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_priv.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_misc.c"" /1q

-------------------------
Command Line Mode started
-------------------------
TCF Generation Passed
Executing Testcase for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.tcf
LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\

Use of uninitialized value $Reports_Dir in pattern match (m//) at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 165.
Use of uninitialized value $Reports_Dir in -d at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 170.
Use of uninitialized value $Reports_Dir in mkdir at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 174.
C:\PROGRA~2\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\LDRAconunit-ti-qual.exe TMS570LS12x_SafeTI_Library -tcf_mode=overwrite /21q -tcf=C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.tcf -regress -quitQt: Untested Windows version 6.2 detected!


 *********************************************************

                   Welcome to TBrun(TM)

  The LDRA Testbed Test Harness Generator Version 9.4.3

    Copyright Liverpool Data Research Associates Ltd.

 *********************************************************
----------------------------
Initialising License started
----------------------------
-----------------------------
Initialising License finished
-----------------------------

Unable to retrieve generic license information
Set TMS570LS12x_SafeTI_Library contains no files.

TBrun can only be run on sets that include source files.


 Type return to continue 

Specified tcf not found.
C:\ti\Hercules\SafeTI
Unable to create sequence from TCF file


 Type return to continue 


Unit Test Completed for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.tcf

  • Hi, our expert is out of the office for several days. Please expect a delayed response.

  • Hi Julian,

    Where did you download the LDRAunit-TI-Qual_C_CPP_9.4.3? 

    The message says that "Unable to retrieve generic license information". Do you have the valid license?

  • Hello,

    sorry for the delay,

    I have downloaded the LDRAunit-TI-Qual_C_CPP_9.4.3 from the LDRA page after having been granted an evaluation license valid until Feb 2022.

    I have been in contact with LDRA and they checked that the license and the license server are set up properly.

    Here is the most recent trial of running TAU:

    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    Generating Make file for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.xlsx ...  MakeFile Generation Passed
    Generating TCF file for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.xlsx...Name "main::Procedure" used only once: possible typo at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 881.
    Use of uninitialized value $TCF_Description in scalar chomp at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 597.
    readline() on closed filehandle SYSEARCH at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 1929.
    readline() on closed filehandle SYSPPVAR at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 1911.
    Use of uninitialized value $TCF_Description in concatenation (.) or string at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 718.
    3Qt: Untested Windows version 6.2 detected!
    ----------------------------
    Initialising License started
    ----------------------------
    Unable to check out license for LDRAunit
    Reason: No such feature exists.
    Feature: Win_C/C++_LDRAunit_TI
    -----------------------------
    Initialising License finished
    -----------------------------
    
    Connection timeout 20 seconds
    Normal hostid 1
    Minimum user inactivity timeout (seconds): 900
    
    Feature: Win_C/C++_TBunit-TI-Qual_ti
    Total licenses in use: 1
    Total number of licenses: 1
    Unable to check out license for LDRAunit
    Reason: No such feature exists.
    Feature: Win_C/C++_LDRAunit_TI
    ...Logging on
    
    Command line specifies invalid file(s) for addition to the set:
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    ----------------------------------------------
    Loading set TMS570LS12x_SafeTI_Library started
    ----------------------------------------------
    -----------------------------------------------
    Loading set TMS570LS12x_SafeTI_Library finished
    -----------------------------------------------
    
    Command line:
     "C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\Conunit-ti-qual.exe" TMS570LS12x_SafeTI_Library /create_set=system /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_selftest.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_init.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_esm.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_log.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_priv.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_misc.c"" /1q
    
    -------------------------
    Command Line Mode started
    -------------------------
    TCF Generation Passed
    Executing Testcase for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.tcf
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    Use of uninitialized value $Reports_Dir in pattern match (m//) at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 165.
    Use of uninitialized value $Reports_Dir in -d at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 170.
    Use of uninitialized value $Reports_Dir in mkdir at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 174.
    C:\PROGRA~2\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\LDRAconunit-ti-qual.exe TMS570LS12x_SafeTI_Library -tcf_mode=overwrite /21q -tcf=C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.tcf -regress -quitQt: Untested Windows version 6.2 detected!
    
    
     *********************************************************
    
                       Welcome to TBrun(TM)
    
      The LDRA Testbed Test Harness Generator Version 9.4.3
    
        Copyright Liverpool Data Research Associates Ltd.
    
     *********************************************************
    ----------------------------
    Initialising License started
    ----------------------------
    Unable to check out license for LDRAunit
    Reason: No such feature exists.
    Feature: Win_C/C++_LDRAunit_TI
    No licences available for LDRA TBrun Application
    
    
     Type return to continue 
    
    -----------------------------
    Initialising License finished
    -----------------------------
    
    Connection timeout 20 seconds
    Normal hostid 1
    Minimum user inactivity timeout (seconds): 900
    
    Feature: Win_C/C++_TBunit-TI-Qual_ti
    Total licenses in use: 1
    Total number of licenses: 1
    Unable to check out license for LDRAunit
    Reason: No such feature exists.
    Feature: Win_C/C++_LDRAunit_TI
    No TBrun licence.
    Unable to continue with TBrun
    
    
     Type return to continue 
    
    
    Unit Test Completed for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\CAN\UnitTest\CAN4A_UT.tcf
    

    And this is the log of the license server:

    lmutil - Copyright (c) 1989-2010 Flexera Software, Inc. All Rights Reserved.
    Flexible License Manager status on Thu 1/20/2022 09:52
    
    [Detecting lmgrd processes...]
    License server status: 27000@C582
        License file(s) on C582: C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\Flexlm\Ftype\license.dat:
    
          C582: license server UP (MASTER) v11.9
    
    Vendor daemon status (on C582):
    
          LDRA: UP v11.9
    Feature usage info:
    
    Users of Win_C/C++_LDRAunit-TI-Qual_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBCALL_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBFLOW_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBGLHAPI_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_DYNAMIC_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBSAFE_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBunit-TI-Qual_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBGLHSUPPORT_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    Users of Win_C/C++_TBGLHCOMPARE_ti:  (Total of 1 license issued;  Total of 0 licenses in use)
    
    
    

  • The eval license doesn't include the license for TBRUN which is required for the test.

  • I´ll ask LDRA for TBurn. Before TBurn, this is also failing:

    ----------------------------
    Initialising License started
    ----------------------------
    Unable to check out license for LDRAunit
    Reason: No such feature exists.
    Feature: Win_C/C++_LDRAunit_TI
    -----------------------------
    Initialising License finished
    -----------------------------

     I have contacted LDRA and they are of the opinion that this is due to Windows 10 incompatibility. But to me it seems like just the names of the license portions and the one that TAU requests do not match up. These are the names in the license file:

    PACKAGE Win_C/C++_Unit-TI-Qual LDRA 9.43 \
        COMPONENTS="Win_C/C++_LDRAunit-TI-Qual_ti:9.43 \
        Win_C/C++_TBCALL_ti:9.43 Win_C/C++_TBFLOW_ti:9.43 \
        Win_C/C++_TBGLHAPI_ti:9.43 Win_C/C++_DYNAMIC_ti:9.43 \
        Win_C/C++_TBSAFE_ti:9.43 Win_C/C++_TBunit-TI-Qual_ti:9.43 \
        Win_C/C++_TBGLHSUPPORT_ti:9.43 Win_C/C++_TBGLHCOMPARE_ti:9.43 \

    [...]

    FEATURE Win_C/C++_Unit-TI-Qual LDRA 9.43 02-feb-2022 1 \

    [..]

    TAU requests:

    Feature: Win_C/C++_LDRAunit_TI

    Feature: Win_C/C++_TBunit-TI-Qual_ti

    TBurn is missing, but the other one seems to be requested by a different name?

  • I made some progress. The license issue was caused by some fs permissions issues. The license error is gone now. Error is now:

    Set TMS570LS12x_SafeTI_Library contains no files.

    TBrun can only be run on sets that include source files.

    I had just started TAU (as admin) from the LDRA less folder and selected ADC to run.

    This is the full log:

    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    Generating Make file for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\ADC\UnitTest\ADC_UT.xlsx ...  MakeFile Generation Passed
    Generating TCF file for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\ADC\UnitTest\ADC_UT.xlsx...Name "main::Procedure" used only once: possible typo at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 881.
    Use of uninitialized value $TCF_Description in scalar chomp at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 597.
    readline() on closed filehandle SYSEARCH at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 1929.
    readline() on closed filehandle SYSPPVAR at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 1911.
    Use of uninitialized value $TCF_Description in concatenation (.) or string at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Generate_TCF.pl line 718.
    4Qt: Untested Windows version 6.2 detected!
    ----------------------------
    Initialising License started
    ----------------------------
    -----------------------------
    Initialising License finished
    -----------------------------
    
    Connection timeout 20 seconds
    Normal hostid 1
    Minimum user inactivity timeout (seconds): 900
    
    Feature: Win_C/C++_TBunit-TI-Qual_ti
    Total licenses in use: 1
    Total number of licenses: 1
    ...Logging on
    
    Command line specifies invalid file(s) for addition to the set:
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    C:\ti\Hercules\SafeTI
    ----------------------------------------------
    Loading set TMS570LS12x_SafeTI_Library started
    ----------------------------------------------
    -----------------------------------------------
    Loading set TMS570LS12x_SafeTI_Library finished
    -----------------------------------------------
    
    Command line:
     "C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\Conunit-ti-qual.exe" TMS570LS12x_SafeTI_Library /create_set=system /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_selftest.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_priv.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_init.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_esm.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_log.c"" /add_set_file=""C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\safety_library\source\sl_misc.c"" /1q
    
    -------------------------
    Command Line Mode started
    -------------------------
    TCF Generation Passed
    Executing Testcase for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\ADC\UnitTest\ADC_UT.tcf
    LDRA Install Dir:C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\
    
    Use of uninitialized value $Reports_Dir in pattern match (m//) at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 165.
    Use of uninitialized value $Reports_Dir in -d at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 170.
    Use of uninitialized value $Reports_Dir in mkdir at C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\Misc\Scripts\Unit_Test_LDRA.pl line 174.
    C:\PROGRA~2\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\LDRAconunit-ti-qual.exe TMS570LS12x_SafeTI_Library -tcf_mode=overwrite /21q -tcf=C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\ADC\UnitTest\ADC_UT.tcf -regress -quitQt: Untested Windows version 6.2 detected!
    
    
     *********************************************************
    
                       Welcome to TBrun(TM)
    
      The LDRA Testbed Test Harness Generator Version 9.4.3
    
        Copyright Liverpool Data Research Associates Ltd.
    
     *********************************************************
    ----------------------------
    Initialising License started
    ----------------------------
    -----------------------------
    Initialising License finished
    -----------------------------
    
    Connection timeout 20 seconds
    Normal hostid 1
    Minimum user inactivity timeout (seconds): 900
    
    Feature: Win_C/C++_TBunit-TI-Qual_ti
    Total licenses in use: 1
    Total number of licenses: 1
    Set TMS570LS12x_SafeTI_Library contains no files.
    
    TBrun can only be run on sets that include source files.
    
    
     Type return to continue 
    
    Specified tcf not found.
    C:\ti\Hercules\SafeTI
    Unable to create sequence from TCF file
    
    
     Type return to continue 
    
    
    Unit Test Completed for C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0_LDRA_Less\Test\TMS570LS12x\SafetyLibrary\Tests\ADC\UnitTest\ADC_UT.tcf
    

  • The source file of ADC test code is located in SL_SelfTest_ADC() of ..\..\..\safety_library\source\sl_selftest.c

    Please follow the instructions in those docs:

    1. ../2.4.0_LDRA_Less/docs/SafeTIHerculesDiagnosticLibraryTAU_User_guide.pdf

    2. ../2.4.0_LDRA_Less/docs/SafeTIHerculesDiagnosticLibraryTAU_Installation_guide.pdf