Closed Bug 770141 Opened 12 years ago Closed 12 years ago

xpcom/tests/windows/TestRegistrationOrder.cpp fails with Pymake

Categories

(Core :: XPCOM, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: rain1, Assigned: rain1)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch workaround (obsolete) — Splinter Review
AFAIK it's because Pymake doesn't match GNU make when it comes to backslash-escaping rules. Attached is a workaround, and I'll file a bug against Pymake shortly.
Attachment #638321 - Flags: review?(khuey)
Blocks: 593585
See bug 770181 for the backslash escape bug.
See Also: → 770181
Comment on attachment 638321 [details] [diff] [review]
workaround

Lets just fix pymake.
Attachment #638321 - Flags: review?(khuey) → review-
This is really unfortunate, but I don't know how we could possibly work with backslashes in pymake shells. See bug 770181 comment 3.

That is, unless you think replacing all \ with \\ wouldn't cause problems. I haven't managed to convince myself of that yet.
Attachment #638321 - Attachment is obsolete: true
Attachment #644443 - Flags: review?(benjamin)
Attachment #644443 - Flags: review?(benjamin) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/ac2d2c7ccb1b

Bug 770181 will cover attempts to work around or fix the core issue.
Assignee: nobody → sagarwal
Status: NEW → ASSIGNED
Sorry, I backed this out on inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4f4f8e1167c9

because of these test failures that appeared after it landed:
https://tbpl.mozilla.org/php/getParsedLog.php?id=13814927&tree=Mozilla-Inbound
Running RegistrationOrder tests...
TEST-UNEXPECTED-FAIL | TestRegular FAILED - cannot create core service
TEST-UNEXPECTED-FAIL | TestJar FAILED - cannot create core service
TEST-UNEXPECTED-FAIL | RegTestOrderC: contract not registered
Finished running RegistrationOrder tests.

Since we didn't get a full set of builds on every push, we don't know for sure that this bug caused the test failures; if it was backed out incorrectly then I will re-land it.
Off by one error, fixed and pushed: http://hg.mozilla.org/integration/mozilla-inbound/rev/c554e44df724

(I didn't ask for another review because it was a trivial test-only change)
https://hg.mozilla.org/mozilla-central/rev/c554e44df724
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: