Closed Bug 530969 Opened 15 years ago Closed 15 years ago

jstests.py doesn't work on X64

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: n.nethercote, Assigned: dmandelin)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

[ocean:~/moz/ws0/js/src/tests] python jstests.py -j 2 ../debug64/js
Traceback (most recent call last):
  File "jstests.py", line 262, in <module>
    test_list = manifest.parse(OPTIONS.manifest, xul_tester)
  File "/home/njn/moz/ws0/js/src/tests/manifest.py", line 102, in parse
    ans += parse(os.path.join(dir, parts[1]), xul_tester)
  File "/home/njn/moz/ws0/js/src/tests/manifest.py", line 102, in parse
    ans += parse(os.path.join(dir, parts[1]), xul_tester)
  File "/home/njn/moz/ws0/js/src/tests/manifest.py", line 130, in parse
    if xul_tester.test(cond):
  File "/home/njn/moz/ws0/js/src/tests/manifest.py", line 78, in test
    raise Exception("Failed to test XUL condition '%s'"%cond)
Exception: Failed to test XUL condition 'xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)'
Attached patch PatchSplinter Review
Nick, can you test this patch for me? I'm pretty sure it works but I don't actually have an X64 setup here to test it on.
(In reply to comment #1)
> Created an attachment (id=414422) [details]
> Patch
> 
> Nick, can you test this patch for me? I'm pretty sure it works but I don't
> actually have an X64 setup here to test it on.

Nevermind, Jeff just tested it for us, and it works.
Attachment #414422 - Flags: review?(nnethercote)
Comment on attachment 414422 [details] [diff] [review]
Patch

Works for me too!  Thanks.
Attachment #414422 - Flags: review?(nnethercote) → review+
http://hg.mozilla.org/tracemonkey/rev/da484c48f148
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/da484c48f148
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: