Support downloading a try build, dropping it into a local environment, and running ./mach test --debugger
Categories
(Firefox Build System :: General, 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.
Reporter | ||
Comment 1•5 years ago
|
||
One example of problem:
- delete all the files (but not folders) from obj-dir/dist/bin
- Copying all the files (but not folders) from target.zip/firefox/ into the prior directory
- Download and copy target.gtest.zip/gtest_bin/xul.dll into obj-dir/dist/bin/gtest/
- ./mach gtest gives the following:
The procedure entry point _Z21DllBlocklist_Shutdownv could not be located in the dynamic link library firefox.exe
Updated•2 years ago
|
Description
•