diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2021-02-10 14:26:47 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-11 03:53:03 +0000 |
commit | 726f3d2e22ed462986134588a1f9334deb66eda4 (patch) | |
tree | 725f2ed37fa6085e1c09ca534cc35e6c572e701b | |
parent | db4c86fb6f59d81a8b74cff41096b9ee6066fe30 (diff) | |
download | mongo-726f3d2e22ed462986134588a1f9334deb66eda4.tar.gz |
SERVER-54451: Have setup_spawnhost_coredump extract unittest binaries/debug symbols.
-rwxr-xr-x | buildscripts/setup_spawnhost_coredump | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/setup_spawnhost_coredump b/buildscripts/setup_spawnhost_coredump index fb8948c85a3..ef93b2d3857 100755 --- a/buildscripts/setup_spawnhost_coredump +++ b/buildscripts/setup_spawnhost_coredump @@ -47,6 +47,10 @@ tar --wildcards --strip-components=1 -xzf $BIN_ARCHIVE '*/lib/*' & DBG_ARCHIVE=`ls /data/mci/artifacts-*compile/debugsymbols-*.tgz` tar --wildcards --strip-components=2 -xzf $DBG_ARCHIVE '*/bin/mongod.debug' '*/bin/mongos.debug' '*/bin/mongo.debug' '*/bin/mongobridge.debug' & tar --wildcards --strip-components=1 -xzf $DBG_ARCHIVE '*/lib/*' & +UNITTEST_ARCHIVE=`ls /data/mci/artifacts-*run_unittests/mongo-unittests-*.tgz` +tar --wildcards --strip-components=1 -xzf $UNITTEST_ARCHIVE 'bin/*' & +tar --wildcards -xzf $UNITTEST_ARCHIVE 'lib/*' & + SRC_DIR=`find /data/mci/ -maxdepth 1 | grep source` ln -s $SRC_DIR/.gdbinit . ln -s $SRC_DIR/src src |