2018-11-06 13:47:09 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# Run the Mitogen tests.
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
import ci_lib
|
|
|
|
|
|
|
|
os.environ.update({
|
|
|
|
'MITOGEN_TEST_DISTRO': ci_lib.DISTRO,
|
|
|
|
'MITOGEN_LOG_LEVEL': 'debug',
|
|
|
|
'SKIP_ANSIBLE': '1',
|
|
|
|
})
|
|
|
|
|
2019-02-14 11:17:52 +00:00
|
|
|
if not ci_lib.have_docker():
|
|
|
|
os.environ['SKIP_DOCKER_TESTS'] = '1'
|
|
|
|
|
2019-08-09 19:19:16 +00:00
|
|
|
interesting = ci_lib.get_interesting_procs()
|
2018-11-06 13:47:09 +00:00
|
|
|
ci_lib.run('./run_tests -v')
|
2019-08-09 19:19:16 +00:00
|
|
|
ci_lib.check_stray_processes(interesting)
|