Closed
Bug 221598
Opened 21 years ago
Closed 21 years ago
regression test pain relief
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bernd_mozilla, Unassigned)
Details
Attachments
(1 file, 2 obsolete files)
3.56 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
on my new notebook I discovered that I had patched several files....
Attachment #132884 -
Attachment is obsolete: true
Comment on attachment 132885 [details] [diff] [review] patch Boris, could you please verify that the tests run under linux with this patch -B 1 dumps only the differing nodes and not the whole tree.
Attachment #132885 -
Flags: review?(bzbarsky)
Comment on attachment 132885 [details] [diff] [review] patch > TESTS_FILE=`cygpath -w $TESTS_FILE` >- MOZ_TEST_BASE=`cygpath -w $MOZ_TEST_BASE | sed -e 's|\\|/|g'` > fi >+MOZ_TEST_BASE=`echo $MOZ_TEST_BASE | sed -e"s,cygdrive/\(.\),\1:,"` > cp /dev/null $TESTS_FILE > > for FILE in `ls file_list.txt file_list[0-9].txt 2> /dev/null`; do This is undoing a change that was made for a reason (configurable mount points). However, cygpath -w combined with sed could be replaced by cygpath -m.
this backout is simply http://bugzilla.mozilla.org/show_bug.cgi?id=158920#c27, I am proposing to back out untested code that horks the regression tests. cygpath -m does not work viewer and mozilla do not accept something like this file:///cygdrive/e/moz_src/mozilla/layout/html/tests/block/base/width-fixed.html they need file:///e:/moz_src/mozilla/layout/html/tests/block/base/width-fixed.html
That's odd. Are you sure you're following the windows codepath rather than the non-windows codepath?
If it's still the "unterminated s command" issue, you could just replace MOZ_TEST_BASE=`cygpath -w $MOZ_TEST_BASE | sed -e 's|\\|/|g'` with MOZ_TEST_BASE=`cygpath -m $MOZ_TEST_BASE`
Comment 9•21 years ago
|
||
bernd, do you want me to just apply the patch and run a baseline/verify cycle? Also, as regards the cygpath change... no matter what it ends up being, keep it in the win32 clause there. Doing that replacement on Unix for no reason is not cool.
Reporter | ||
Comment 10•21 years ago
|
||
Boris, if you could run once the verify run that would be great.
Attachment #132885 -
Attachment is obsolete: true
Attachment #132885 -
Flags: review?(bzbarsky)
Attachment #132907 -
Flags: review?(bzbarsky)
Comment 11•21 years ago
|
||
Comment on attachment 132907 [details] [diff] [review] revised patch with dbaron's and bz's comments This runs fine on Linux, and the changes look reasonable to me. As long as the cygpath thing is doing the right thing, r=bzbarsky
Attachment #132907 -
Flags: review?(bzbarsky) → review+
Comment 12•21 years ago
|
||
Oi oi, any chance of a more descriptive summary/report next time? "regression test pain relief / on my new notebook I discovered that I had patched several files" leaves me with pitifully little idea of what issue this bug is trying to address. (Besides being puzzling, this makes it hard for helpers to verify or dup.)
Reporter | ||
Comment 13•21 years ago
|
||
The layout regression tests have been severly broken. The patch brings the tests somehow back to a level where they are useable under windows. The tests are not part of the build. If you are wondering what the tests are about http://lxr.mozilla.org/seamonkey/source/layout/doc/regression_tests.html. The only person that I know who runs these tests these days under windows is jkeiser, but I fixed the tests already on his machine.
Comment 14•21 years ago
|
||
Thank you. :)
Reporter | ||
Comment 15•21 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•