Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12595 closed bug (fixed)

Create a symlink to the cppunit library

Reported by: Max-Might Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


To run the unittests application we need It is built in another directory so we need to create a symlink or copy the library to the unittests lib directory. This patch creates a symlink to

Attachments (1) (872 bytes ) - added by Max-Might 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Max-Might, 5 years ago

patch: 01

comment:2 by bonefish, 5 years ago

I'd probably just build the library with UnitTestLib instead.

comment:3 by Max-Might, 5 years ago

But UnitTestsLib adds a dependency to and it confuses jam.

comment:4 by pulkomandy, 5 years ago

Resolution: fixed
Status: newclosed

Applied in hrev 50040.

in reply to:  3 comment:5 by bonefish, 5 years ago

Replying to Max-Might:

But UnitTestsLib adds a dependency to and it confuses jam.

Good point, I missed that. Symlinks have the problem that they never are never updated and thus e.g. ignorant to DEBUG level changes. I usually prefer explicit installing when preparing "execution environments" (e.g. -- this also provides convenient pseudo targets that just build an prepare everything. Not sure why the unit test stuff works differently. Possibly it's just very old and didn't receive much consideration when the build system was restructured later on.

Note: See TracTickets for help on using tickets.