Bug 99514 - run-sunspider --instruments throws exception
Summary: run-sunspider --instruments throws exception
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 99512
  Show dependency treegraph
 
Reported: 2012-10-16 15:20 PDT by Eric Seidel (no email)
Modified: 2012-10-16 15:27 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2012-10-16 15:20:05 PDT
run-sunspider --instruments throws exception

Presumably Instruments updated and can no longer read the trace template?

Found 26 tests
Running SunSpider once for warmup, then under Instruments
Discarded first run.
[Instruments Trace Complete (Duration : 1.125924s; Output : /Users/eseidel/Projects/WebKit/PerformanceTests/SunSpider/instrumentscli0.trace)]
Exception: SyntaxError: Expected token ']'
Exception: ReferenceError: Can't find variable: output
global code@resources/sunspider-analyze-results.js:26

Results are located at sunspider-1.0-results/sunspider-results-2012-10-16-15.17.49.js

I discovered this while testing bug 99512.
Comment 1 Eric Seidel (no email) 2012-10-16 15:27:07 PDT
Actually, I think that instruments is likely just printing to stdout and screwing up the analysis script.