[SERVER-27483] Avoid stripping debug symbols from C++ unit tests in Evergreen Created: 21/Dec/16  Updated: 30/Mar/18  Resolved: 05/Jan/17

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.4.15, 3.5.2

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Eddie Louie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-25691 Break out unit test compilation and r... Closed
Related
related to SERVER-33963 Use an Evergreen task group for compi... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: TIG 2017-01-02
Participants:

 Description   

As part of SERVER-20315, running the C++ unit tests was split out into its own unittests task. This required changes to strip the C++ unit tests, tar them up, and upload them to S3.

With the changes from SERVER-25691, we'll now have a separate compile_all task that builds everything including the C++ unit tests. Our JavaScript integration tests (e.g. jsCore_WT) will continue to depend on the compile task that builds everything except the C++ unit tests. This means we can go back to a model where compile_all also runs the C++ unit tests, which brings the following benefits:

  • We won't need to package up the C++ unit tests and upload them to S3.
  • We won't strip the C++ unit tests to save space and will be able to run them with symbols intact to make debugging easier.


 Comments   
Comment by Githook User [ 30/Mar/18 ]

Author:

{'email': 'eddie.louie@mongodb.com', 'name': 'Eddie Louie', 'username': 'elouie99'}

Message: SERVER-27483 Run the C++ unit tests as part of the compile_all task

(cherry picked from commit 7c00c754f5637fb3c182328ce5079e33e5d87ab6)
Branch: v3.4
https://github.com/mongodb/mongo/commit/43cfaa9b74ce6ad09de4a52cbcfd49112a51c084

Comment by Githook User [ 05/Jan/17 ]

Author:

{u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'}

Message: SERVER-27483 Run the C++ unit tests as part of the compile_all task
Branch: master
https://github.com/mongodb/mongo/commit/7c00c754f5637fb3c182328ce5079e33e5d87ab6

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