Closed Bug 512571 Opened 15 years ago Closed 15 years ago

Pass on symbolsPath to packaged xpcshell-tests

Categories

(Release Engineering :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: lsblakk)

Details

Attachments

(1 file, 2 obsolete files)

We don't get crash stacks from packaged xpcshell-tests because the path to the symbols isn't passed on the command line:
http://hg.mozilla.org/build/buildbotcustom/file/9a587b917756/steps/unittest.py#l455

Bug 506042 fixed the make target we use for unpacked unit tests.
Do you need me to test this on staging?
Assignee: nobody → lsblakk
Attachment #398377 - Flags: review?(nthomas)
(In reply to comment #1)
> Do you need me to test this on staging?

Definitely. I suspect a command of format
 woo.py --foo=bar path_arg --jim=bob
is sufficiently unconventional to make OptionParser barf.
I'll test this one on staging
Attachment #398377 - Attachment is obsolete: true
Attachment #398377 - Flags: review?(nthomas)
Comment on attachment 398480 [details] [diff] [review]
Passes --symbols_path to runxpcshelltests.py

>+                self.command.append("""--manifest=xpcshell/tests/all-test-dirs.list %(exedir)s/xpcshell""".replace("\n", " && "))

This probably needs to be in a WithProperties wrapper
Tested on staging-master2, successfully added --symbols_path to the bash command
Attachment #398480 - Attachment is obsolete: true
Attachment #402426 - Flags: review?(nthomas)
Attachment #402426 - Flags: review?(nthomas) → review+
Attachment #402426 - Flags: checked-in?
Comment on attachment 402426 [details] [diff] [review]
Passes --symbols_path to runxpcshelltests.py

http://hg.mozilla.org/build/buildbotcustom/rev/e1fb4b86b0bb
Attachment #402426 - Flags: checked-in? → checked-in+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: