From Yaniv Bronhaim <[email protected]>:

Yaniv Bronhaim 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 automation/check-patch.sh
M tests/testValidation.py
2 files changed, 11 insertions(+), 6 deletions(-)

Approvals:
  Nir Soffer: Verified
  Yaniv Bronhaim: Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib664c85398292e60c842aa812d315e54bdac2419
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-4.0
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to