Open Bug 1577101 Opened 5 years ago Updated 2 years ago

Support downloading a try build, dropping it into a local environment, and running ./mach test --debugger

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: tjr, Unassigned)

Details

I have not been able to make ./mach test foo --debugger=bar work unless I have built the source tree locally.

This is a problem because sometimes it is difficult or impossible to build the tree on the environment to debug. For example; the OSX and MinGW builds build on a different host than their target, so it's impossible to replicate the build environment locally in a way that enables us to debug test failures. Other builds, such as sanitizer builds and ccov are also difficult to replicate locally.

If there's a way to do this I haven't figured out I'm happy to give it a shot; but downloading the target.zip and dropping it in whole or piecemeal over an existing build has not been fruitful.

One example of problem:

  1. delete all the files (but not folders) from obj-dir/dist/bin
  2. Copying all the files (but not folders) from target.zip/firefox/ into the prior directory
  3. Download and copy target.gtest.zip/gtest_bin/xul.dll into obj-dir/dist/bin/gtest/
  4. ./mach gtest gives the following:

The procedure entry point _Z21DllBlocklist_Shutdownv could not be located in the dynamic link library firefox.exe

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.