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