Commit Graph

10 Commits

Author SHA1 Message Date
Dale Curtis
900bbd53ed Add crash whitelist for chromeos-wm: sig 6.
Change-Id: I776b3b92c81f6e00b179766fd16a322af4c0379c

BUG=chromium-os:12212
TEST=Ran against test logs for failed build.

Review URL: http://codereview.chromium.org/6534006
2011-02-16 14:33:06 -08:00
Dale Curtis
1838b64fcf Add crash detection to test report generation.
As titled, similarly to http://codereview.chromium.org/6508003/, crashes are now detected in Autotest runs and will result in an error being thrown when detected.

The error thrown during crash detection will cause smoke failures and close the tree.

Change-Id: I403833c99c6c37f971bdbe962655ead10a1014c5

BUG=chromium-os:12100
TEST=Ran bvt, smoke with good and bad builds through run_remote_tests.

Review URL: http://codereview.chromium.org/6526031
2011-02-16 12:01:17 -08:00
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