Closed
Bug 576026
Opened 15 years ago
Closed 14 years ago
runtests.py.in is an interpolated file and shouldn't be
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: k0scist, Assigned: ewong)
References
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 2 obsolete files)
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py.in is interpolated. However, there are no actual interpolation tokens there! So it is pointless to interpret. The only thing that happens is that the comments are wiped and CPU cycles are used.
Comment 1•15 years ago
|
||
Just nuking this rule and renaming the file should do the trick:
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/Makefile.in#119
Updated•15 years ago
|
Whiteboard: [good first bug]
Comment 2•15 years ago
|
||
(In reply to comment #1)
> Just nuking this rule and renaming the file should do the trick:
> http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/Makefile.in#119
Well actually we'll need to NSINSTALL the .js for this, no?
Comment 3•15 years ago
|
||
If you meant the .py file, then no, it's already listed in that _SERV_FILES variable up above, which gets installed in a rule in that Makefile.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #463753 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #463753 -
Flags: review? → review?(ted.mielczarek)
Comment 5•14 years ago
|
||
Comment on attachment 463753 [details] [diff] [review]
Changed runtests.py.in to runtests.py and removed lines from Makefile.in
You have an extraneous change in browser/locales in this patch.
The Makefile change looks good, but you need to remove runtests.py from GARBAGE as well.
Attachment #463753 -
Flags: review?(ted.mielczarek) → review-
Assignee | ||
Comment 6•14 years ago
|
||
Removed extraneous cruft from patch. Removed runtests.py from GARBAGE.
Renamed runtests.py.in to runtests.py.
Attachment #463753 -
Attachment is obsolete: true
Attachment #463796 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #463796 -
Flags: review? → review?(ted.mielczarek)
Updated•14 years ago
|
Attachment #463796 -
Flags: review?(ted.mielczarek) → review+
Comment 7•14 years ago
|
||
Hmm, does this need approval; it looks like the approval-flags never hit this product/component
Comment 8•14 years ago
|
||
a=me
Updated•14 years ago
|
Keywords: checkin-needed
Comment 9•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2d57f5901aa2
In the future, please follow these suggestions for using checkin-needed:
http://blog.bonardo.net/2010/06/22/so-youre-about-to-use-checkin-needed
It's a pain to have to manually set the user and checkin comment when landing
your patch.
Comment 10•14 years ago
|
||
Sounds like this broke running mochitest from the objdir on systems with symlinks, in a similar manner to bug 525047 comment 28. (Python uses the target of the symlink as the directory to use in sys.path for loading modules.)
Comment 11•14 years ago
|
||
This causes mochitests to fail at the start as shown below, on
x86_64-Linux (Ubuntu 10.04). Backing it out by hand gives a working
mochitest.
Could this please be either fixed or backed out? Right now isn't a
good time for mochitests to be broken.
$ DISPLAY=:3.0 make -C ff-opt mochitest-plain
make: Entering directory `/space2/sewardj/MOZ/MC-23-08-2010/ff-opt'
rm -f ./mochitest-plain.log && /usr/bin/python2.6 _tests/testing/mochitest/runtests.py --autorun --close-when-done --console-level=INFO --log-file=./mochitest-plain.log --file-level=INFO --symbols-path=./dist/crashreporter-symbols
Traceback (most recent call last):
File "_tests/testing/mochitest/runtests.py", line 55, in <module>
from automation import Automation
ImportError: No module named automation
make: *** [mochitest-plain] Error 1
make: Leaving directory `/space2/sewardj/MOZ/MC-23-08-2010/ff-opt'
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•14 years ago
|
||
I wonder if this (hangs, focus weirdness) is related to bug 583699.
That concerns the exact same test case, and Valgrind found an
uninitialised value use in it.
Comment 13•14 years ago
|
||
(In reply to comment #12)
Darn. Wrong bug. Ignore. Sorry.
Comment 14•14 years ago
|
||
I'm going to back this out in a moment.
Comment 15•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 16•14 years ago
|
||
Attachment #463796 -
Attachment is obsolete: true
Attachment #473463 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•14 years ago
|
Attachment #473463 -
Flags: review?(ted.mielczarek) → review?(khuey)
Attachment #473463 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 17•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in
before you can comment on or make changes to this bug.
Description
•