blob: 32569936d98c0b31f9daa515b35bacb56f287004 [file] [log] [blame]
# Copyright 2016 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
"""Tests that daemons that hang on to STDOUT can't cause the engine to hang."""
PYTHON_VERSION_COMPATIBILITY = 'PY2+3'
DEPS = [
'platform',
'python',
]
def RunSteps(api):
api.python(
'bad daemon',
api.resource('win.py' if api.platform.is_win else 'unix.py'),
venv=api.platform.is_win)
def GenTests(api):
yield api.test('basic')
yield api.test('basic_win') + api.platform(name='win', bits=64)