Commit Graph

8 Commits

Author SHA1 Message Date
Chris Sosa
cf51905a08 Add direct flush calls to stderr / stdout.
Change-Id: I272661e276f4968d464706c802e24a0600b9af46

BUG=8393
TEST=N/A

Review URL: http://codereview.chromium.org/4088007
2010-10-29 09:33:44 -07:00
Chris Sosa
a8860e4572 Exclude fake crash reporter directories from report.
Change-Id: I11357f7196b66f3e879e68efa5366af115f3992b

BUG=8192
TEST=Ran it with results from a test with crash reports in it.

Review URL: http://codereview.chromium.org/4156003
2010-10-26 14:36:40 -07:00
Chris Sosa
5e0909abad Robustify printing of test errors to stderr.
Change-Id: I1e5da670437ce6574910a34d09b30aa80aee6f4f

BUG=8056
TEST=Ran it with tests that both succeeded and failed.

Review URL: http://codereview.chromium.org/4007008
2010-10-22 12:34:38 -07:00
Chris Sosa
62d75f0582 Get correct DEBUG logs for generate_test_report.
Change-Id: Ia77ec225abc0e8906662b57ca8e71bbb13b42635

BUG=
TEST=Ran it.

Review URL: http://codereview.chromium.org/3890002
2010-10-19 13:57:37 -07:00
Chris Sosa
d4b4cb8bc7 Print out debug of test when it fails.
Change-Id: I9dc535a7d1ee5feeb364456ca8ff367285cdad2b

BUG=
TEST=Ran with with a test suite with both passing / failing tests

Review URL: http://codereview.chromium.org/3814009
2010-10-15 16:36:45 -07:00
Chris Sosa
70e2c9e72a Move RunCommand, and Info/Warning/Die into common pylib
TEST=Ran all commands that used RunCommand or Die with
their associated unittests.

Review URL: http://codereview.chromium.org/3266004
2010-08-30 11:05:50 -07:00
Ryan Cairns
a1401f2f56 adds a flag to exit if a test fails
Change-Id: Ifd23ca19abaef24e30e0bbd9e751f8a0ea8cf667

Merge branch 'master' of ssh://gitrw.chromium.org:9222/crosutils into fail-on-exit

Change-Id: I4e6270cc401a1450a6f2de6bc156e2dabc6d4334

BUG=none
TEST=tested both success and failure cases with and without the flag

Review URL: http://codereview.chromium.org/3150036
2010-08-25 14:30:18 -07:00
Chris Sosa
54d8baacc0 Make generate_test_reports a symlink to the py file so it can be imported.
TEST=Ran archive_build with --official-build and test_mod set.

Review URL: http://codereview.chromium.org/2951003
2010-07-09 10:46:53 -07:00