OSDN Git Service

simpleperf: fix scripts based on test on darwin/windows.
authorYabin Cui <yabinc@google.com>
Mon, 21 Aug 2017 20:14:49 +0000 (13:14 -0700)
committerYabin Cui <yabinc@google.com>
Mon, 21 Aug 2017 20:15:46 +0000 (13:15 -0700)
commitb5b94a68b333794dd619bd5ef684981df10652da
treec4ad241ebcba18eb50a9bbf2b8ae121b62f79c27
parent0e6b67e308f054953e784bcedd5a0ae80694654a
simpleperf: fix scripts based on test on darwin/windows.

1. fix inferno.bat to correctly pass arguments.
2. type `inferno.bat` instead of `./inferno.bat`.
3. call `inferno.bat` in python should use shell=True.
4. fix the way to open browser on darwin/windows.

Bug: http://b/64035530
Test: run test.py on all platforms.

Change-Id: I5e22907d0c25186b129bf82e0f83d3b71e28ffb2
simpleperf/doc/README.md
simpleperf/doc/inferno.md
simpleperf/scripts/inferno.bat
simpleperf/scripts/inferno/inferno.py
simpleperf/scripts/test.py