0

Long story short

Where is the variable $(ProjectConfiguration) set in an LDRA TBrun TCF file?

Context

I have an LDRA TBrun TCF file I'm trying to run using the command-line runner, contbrun.exe.

It's failing because it's referencing the incorrect executable path (.axf file). It's trying to read this:

C:\Code\SetName\src\arm\LDRA\SetName.axf

When it should instead be reading this:

C:\Code\SetName\src\arm\SetName\SetName.axf

In other words, take the .\LDRA\. out of the path and replace it with .\SetName\..

In the TCF file, I think I deduced that the executable path is coming from one of these very similar lines:

SH Executable Name = $(ProjectDir)$(ProjectConfiguration)\$(SetName)$(ExeExtension)
...
Sequencer Executable Name = $(ProjectDir)$(ProjectConfiguration)\$(SetName)$(ExeExtension)
...
Harness Executable Name = $(ProjectDir)$(ProjectConfiguration)\$(SetName)$(ExeExtension)

I would like to continue using these parameters rather than hard-coding the correct path. That implies to me I would need to update $(ProjectConfiguration). But I can't figure out where that is set.

There are no hits in the file for where it gets set. And searching around for "LDRA" results of course in a lot of hits but nothing that stands out as the one that sets $(ProjectConfiguration).

Where does $(ProjectConfiguration) get set?

CivFan
  • 13,560
  • 9
  • 41
  • 58

1 Answers1

-1

The best way of resolving this would be to contact LDRA Support at support@ldra.com - the suspicion is that you have a corrupted TLP.

Support will be able to sort you out (assuming you are not already sorted)

See profile for affiliation!

Andrew
  • 2,046
  • 1
  • 24
  • 37