Closed Bug 494486 Opened 15 years ago Closed 15 years ago

JarMaker test fails on linux srcdir build (wrong symlinks)

Categories

(Testing :: XPCShell Harness, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 493837

People

(Reporter: wuno, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20090522 Minefield/3.6a1pre
Build Identifier: 

By testing if the checkin for the JarMaker test (bug490358) for os/2 would affect linux, I found a problem with check-symlink (the other tests pass). I'm building on gentoo-linux, the default setup is to build in the srcdir rather than an objdir.
Error output:
processing ./jar.mn
make[3]: Leaving directory `/var/tmp/portage/www-client/minefield-9999/work/mozilla-central/config/tests/src-simple'
Comparing manifests...
Comparing packages...
diff: ../../../dist/xpi-stage/test_jar_mn/chrome/test/three/l10nfile.txt: No such file or directory
diff: ../../../dist/xpi-stage/test_jar_mn/chrome/test/two/otherfile.xml: No such file or directory
TEST-UNEXPECTED-FAIL | config/tests/ref-simple | different content in jar
make[2]: *** [check-symlink] Error 1
make[2]: Leaving directory `/var/tmp/portage/www-client/minefield-9999/work/mozilla-central/config/tests/src-simple'
make[1]: *** [check-jar-mn] Error 2
make[1]: Leaving directory `/var/tmp/portage/www-client/minefield-9999/work/mozilla-central/config'
make: *** [check] Error 2

cd to $(DIST)/xpi-stage/test_jar_mn/chrome/test
ls one/ -l
total 12
lrwxrwxrwx 1 root root 106 2009-05-22 23:46 file.xml -> /var/tmp/portage/www-client/minefield-9999/work/mozilla-central/config/tests/src-simple/thesrcdir/file.xml
-rw-r--r-- 1 root root  21 2009-05-22 23:46 preproc
-rw-r--r-- 1 root root 144 2009-05-22 23:46 some.css

ls two/ -l
total 0
lrwxrwxrwx 1 root root 59 2009-05-22 23:46 otherfile.xml -> ../../../config/tests/src-simple/thetopsrcdir/otherfile.xml

ls three/ -l
total 0
lrwxrwxrwx 1 root root 19 2009-05-22 23:46 l10nfile.txt -> ./l10n/l10nfile.txt

All symlinks point to different levels up, only the symlink in test/one is correct

Reproducible: Always
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.