[SERVER-25520] unittest library should not be linked into all binaries Created: 09/Aug/16  Updated: 02/Sep/16  Resolved: 27/Aug/16

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-25822 Prohibit linking unittest library int... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2016-08-26
Participants:

 Description   

It appears that we're linking the unittest library into all of our binaries. Running mongod --help lists this as the first entry:

Options:
  --tempPath arg                        directory to place mongo::TempDir 
                                        subdirectories

This argument is coming from mongo/unittest/temp_dir.cpp.



 Comments   
Comment by Githook User [ 27/Aug/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-25520 Remove unintended linkage of the unittest library
Branch: master
https://github.com/mongodb/mongo/commit/155a4d97d7edbd56fb7f2efafa095168ef4d02d9

Comment by Andrew Morrow (Inactive) [ 19/Aug/16 ]

Yes, it will be fixed for 3.4.

Generated at Thu Feb 08 04:09:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.