Closed Bug 889897 Opened 11 years ago Closed 10 years ago

mach should make it easy to run jsreftests

Categories

(Testing :: Reftest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorendorff, Assigned: jorendorff)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mach])

Attachments

(1 file)

There is probably some easy way to do this, but I couldn't discover it! It took me a humiliating amount of time to figure out I need to run: cd $OBJDIR EXTRA_TEST_ARGS=--filter=mytest.js make jstestbrowser BTW, this command triggers a "should never occur" error in mach: ./mach reftest js/src/tests/ --filter=ecma_6/Math/
Whiteboard: [mach]
Assignee: nobody → jorendorff
Attachment #8434345 - Flags: review?(gps)
Comment on attachment 8434345 [details] [diff] [review] bug-889897-mach-jstestbrowser-v1.patch Review of attachment 8434345 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. Thanks for adding this!
Attachment #8434345 - Flags: review?(gps) → review+
Windows XP Debug jittest has been failing ever since this and bug 1020514 landed on inbound yesterday: https://tbpl.mozilla.org/php/getParsedLog.php?id=42163197&tree=Mozilla-Inbound I backed this out in https://hg.mozilla.org/integration/mozilla-inbound/rev/53ce5128329e (and 1020514 in a different push) to see which one caused the failure.
Flags: needinfo?(jorendorff)
Hrm, the failure's still present with both bugs backed out...
I can pretty confidently say it wasn't this patch, since this just touches mach commands (which we don't use on TBPL).
Flags: needinfo?(jorendorff)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
jorendorff: Was there a reason we didn't just make this "./mach jsreftest" here? Why is this called jstestbrowser? Someone looking at a "jsreftest" run on TBPL and wanting to run it locally would have a hard time realizing that "jstestbrowser" is the right command to run. (Alternately, if we really prefer the "jstestbrowser" name for some reason, we should probably make other things like TBPL switch to using that name.)
Flags: needinfo?(jorendorff)
(Note: if you run "./mach jsreftest" right now, mach tries to be helpful, but does the wrong thing -- it runs normal reftests, saying: > We're assuming the 'jsreftest' command is 'reftest' and we're executing it for you. )
(In reply to Daniel Holbert [:dholbert] from comment #9) > jorendorff: Was there a reason we didn't just make this "./mach jsreftest" > here? Why is this called jstestbrowser? It looked like other things were named after the make targets, so I went with that. Please fix it however you think best. I want people to be able to find the functionality.
Flags: needinfo?(jorendorff)
I'm unlikely to, as I never run these tests. But I filed bug 1066758, in the hopes that someone else might take it.
Blocks: 1066758
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: