From Dan Kenigsberg <[email protected]>:

Dan Kenigsberg has submitted this change and it was merged.

Change subject: testValidation: Support @broken_on_ci for travis-ci
......................................................................


testValidation: Support @broken_on_ci for travis-ci

Add a name argument to @broken_on_ci, so we can use it for both ovirt
and travis CI.

By default, @broken_on_ci(reason) will match ovirt CI, where the
OVIRT_CI environment variable is defined (in check-patch.sh).

To mark tests as broken on travis-ci, use:

    @broken_on_ci("reason...", name=TRAVIS_CI)
    def test_will_skip_on_failures_in_travis(self):
        ...

Change-Id: Ib664c85398292e60c842aa812d315e54bdac2419
Signed-off-by: Nir Soffer <[email protected]>
---
M .travis.yml
M automation/check-patch.sh
M tests/testValidation.py
3 files changed, 12 insertions(+), 7 deletions(-)

Approvals:
  Piotr Kliczewski: Looks good to me, but someone else must approve
  Nir Soffer: Verified
  Jenkins CI: Passed CI tests
  Irit Goihman: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/67332
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib664c85398292e60c842aa812d315e54bdac2419
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Irit Goihman <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: gerrit-hooks <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to