Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Issue 731723002: Don't return failure if no tests. (Closed)

Created:
6 years, 1 month ago by ghost stip (do not use)
Modified:
6 years, 1 month ago
Reviewers:
iannucci, pgervais
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/expect_tests@master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address iannucci's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M expect_tests/type_definitions.py View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
ghost stip (do not use)
ptal, this fixes the bug where test.py returns 1 when given no arguments https://codereview.chromium.org/731723002/diff/1/expect_tests/type_definitions.py File ...
6 years, 1 month ago (2014-11-15 01:32:27 UTC) #2
iannucci
https://codereview.chromium.org/731723002/diff/1/expect_tests/type_definitions.py File expect_tests/type_definitions.py (right): https://codereview.chromium.org/731723002/diff/1/expect_tests/type_definitions.py#newcode484 expect_tests/type_definitions.py:484: isinstance(obj, NoMatchingTestsError)) On 2014/11/15 01:32:27, stip wrote: > note ...
6 years, 1 month ago (2014-11-15 01:34:19 UTC) #3
iannucci
Actually I'd phrase it as for obj in objects: if not isinstance(obj, NoMatchingTestsError): error |= ...
6 years, 1 month ago (2014-11-15 01:35:58 UTC) #4
ghost stip (do not use)
guess what I just wrote :) https://codereview.chromium.org/731723002/diff/1/expect_tests/type_definitions.py File expect_tests/type_definitions.py (right): https://codereview.chromium.org/731723002/diff/1/expect_tests/type_definitions.py#newcode484 expect_tests/type_definitions.py:484: isinstance(obj, NoMatchingTestsError)) On ...
6 years, 1 month ago (2014-11-15 01:38:12 UTC) #5
iannucci
Totes lgtm
6 years, 1 month ago (2014-11-15 01:41:54 UTC) #6
ghost stip (do not use)
6 years, 1 month ago (2014-11-15 01:43:37 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
cd566a06dda3b2cd8823fad41ec9b927befdaeac (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698