Debian Codegraph @

testrunner/app_level_tests.py

raw symbols SCIP
1 #!/usr/bin/env python
2 """
3 This is what the buildbot runs to execute the app-level tests
4 on top of pypy-c.
5 """
6
7 import sys, os
8 import subprocess
9
10 rootdir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
11 os.environ['PYTHONPATH'] = rootdir
12 os.environ['PYTEST_PLUGINS'] = ''
13
14 popen = subprocess.Popen(
15 [sys.executable, "testrunner/runner.py",
16 "--logfile=pytest-A.log",
17 "--config=pypy/pytest-A.cfg",
18 "--config=pypy/pytest-A.py",
19 "--config=~/machine-A_cfg.py",
20 "--root=pypy", "--timeout=3600",
21 ] + sys.argv[1:],
22 cwd=rootdir)
23
24 try:
25 ret = popen.wait()
26 except KeyboardInterrupt:
27 popen.kill()
28 print "\ninterrupted"
29 ret = 1
30
31 sys.exit(ret)