summaryrefslogtreecommitdiff
path: root/build/scripts/slave/recipes/gatekeeper-failure.py
blob: 8057cf8aec5d349b9eb0b4b3377a4c8a4bf0589d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""Repeatedly fails as a way to ensure the gatekeeper is alive and well."""

DEPS = [
  'platform',
  'step',
]

def RunSteps(api):
  if api.platform.is_linux:
    api.step('fail', ['false'])

def GenTests(api):
  for plat in ('mac', 'linux', 'win'):
    yield api.test('basic_%s' % plat) + api.platform.name(plat)