[SERVER-39997] Build test binaries that run on the same box as their build does with -gsplit-dwarf Created: 06/Mar/19  Updated: 08/Aug/23  Resolved: 08/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-33111 SCons split_dwarf tool can cause spur... Closed
depends on SERVER-39998 Decouple compile task from test compi... Closed
is depended on by SERVER-41672 Enable hygienic in evergreen builders... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Dev Tools 2019-04-08, Dev Tools 2019-05-06, Dev Tools 2019-04-22, Dev Tools 2019-06-17, Dev Tools 2019-08-12, Dev Tools 2019-09-23, Dev Platform 2019-11-04
Participants:

 Description   

Doing so will avoid statically linking all of the debug information into the test binaries, speeding up linking. However, it will mean that the tests need to run in the same environment where the build happened, since otherwise they will become non-debuggable, at least until we integrate `dwp` into the build system so separate debug packages are autogenerated. We can though do much like what we do now with failing unit tests and run `dwp` just for any failed tests and attach that debug info to the failed task.



 Comments   
Comment by Alex Neben [ 08/Aug/23 ]

Closing these issues and closing the containing epic. Please reopen if these are still a problem.

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