Closed Bug 674541 Opened 13 years ago Closed 13 years ago

Test for DOM Worker Threads XHR (in dom/src/foo/) is still generated when using --disable-tests

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 649537 added dom/src/foo/test_foo.html, but the build system changes (http://hg.mozilla.org/mozilla-central/rev/8bf078002768) do not |ifdef ENABLE_TESTS|, so the test suite is still generated even when using --disable-tests.
Attached patch Patch v1 (obsolete) — Splinter Review
Adds |ifdef ENABLE_TESTS| to the relevant section of dom/src/foo/Makefile.in
Attachment #548794 - Flags: review?(khuey)
Comment on attachment 548794 [details] [diff] [review]
Patch v1

We don't even need to enter this directory if we're --disable-tests.
Attachment #548794 - Flags: review?(khuey) → review-
Attached patch Patch v2Splinter Review
Changed to not enter dom/src/foo/ at all.

(Wasn't sure if foo was going to be used for non-test content at a later date, given the name wasn't obviously test based)

Thanks :-)
Attachment #548794 - Attachment is obsolete: true
Attachment #548819 - Flags: review?(khuey)
Comment on attachment 548819 [details] [diff] [review]
Patch v2

Nah, this directory is just to defeat tinderbox's test chunking setup.

r=me
Attachment #548819 - Flags: review?(khuey) → review+
Keywords: checkin-needed
Flags: in-testsuite-
Target Milestone: --- → mozilla8
http://hg.mozilla.org/mozilla-central/rev/ea96c36c83e1
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: