Bug 122385 - Allow skipping of run-jsc-stress-tests that are configured using yaml files
Summary: Allow skipping of run-jsc-stress-tests that are configured using yaml files
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
: 122383 (view as bug list)
Depends on:
Blocks: 120696
  Show dependency treegraph
 
Reported: 2013-10-05 10:46 PDT by Filip Pizlo
Modified: 2013-10-06 11:11 PDT (History)
7 users (show)

See Also:


Attachments
the patch (8.24 KB, patch)
2013-10-05 14:53 PDT, Filip Pizlo
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-10-05 10:46:14 PDT
This will allow JSC layout tests to be skipped or run using a different mode.
Comment 1 Filip Pizlo 2013-10-05 14:51:02 PDT
*** Bug 122383 has been marked as a duplicate of this bug. ***
Comment 2 Filip Pizlo 2013-10-05 14:53:42 PDT
Created attachment 213472 [details]
the patch
Comment 3 Filip Pizlo 2013-10-05 16:53:26 PDT
Landed in http://trac.webkit.org/changeset/156976
Comment 4 Alexey Proskuryakov 2013-10-06 10:34:07 PDT
Comment on attachment 213472 [details]
the patch

View in context: https://bugs.webkit.org/attachment.cgi?id=213472&action=review

> LayoutTests/js/script-tests/large-expressions.js:3
> +// This test isn't very effective in jsc-stress-tests; it appears that we get a large enough
> +// heap on a lot of machines that this just passes. Better to skip for now.
> +//@ skip

The comment does a good job explaining what is done here.

It would be even better if the actual syntax was clearer - "//@ skip" doesn't convey the idea that it's only about jsc-stress-tests, and is thus quite misleading.
Comment 5 Filip Pizlo 2013-10-06 11:11:03 PDT
(In reply to comment #4)
> (From update of attachment 213472 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=213472&action=review
> 
> > LayoutTests/js/script-tests/large-expressions.js:3
> > +// This test isn't very effective in jsc-stress-tests; it appears that we get a large enough
> > +// heap on a lot of machines that this just passes. Better to skip for now.
> > +//@ skip
> 
> The comment does a good job explaining what is done here.
> 
> It would be even better if the actual syntax was clearer - "//@ skip" doesn't convey the idea that it's only about jsc-stress-tests, and is thus quite misleading.

I think it would be great to have a better syntax.  Do you have suggestions?

Are you thinking of something like:

//jsc@ skip