diff options
author | Armin Rigo <arigo@tunes.org> | 2017-03-13 08:23:08 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-03-13 08:23:08 +0100 |
commit | 718d8d0ebc478adc1f4310e63b8bd4890d0fe3b5 (patch) | |
tree | 5ef115ad243d75e4f0f954de068c982588b23d3e /testrunner | |
parent | Skip test in -A (diff) | |
download | pypy-718d8d0ebc478adc1f4310e63b8bd4890d0fe3b5.tar.gz pypy-718d8d0ebc478adc1f4310e63b8bd4890d0fe3b5.tar.bz2 pypy-718d8d0ebc478adc1f4310e63b8bd4890d0fe3b5.zip |
Check in here test runners for the lib-python and the pypyjit steps
of buildbot. Will then fix buildbot to execute these. It allows us
to customize the steps on py3.5.
If you are running buildbot on other branches, you need to copy these
two files too (or merge default).
Diffstat (limited to 'testrunner')
-rwxr-xr-x | testrunner/lib_python_tests.py | 26 | ||||
-rwxr-xr-x | testrunner/pypyjit_tests.py | 25 |
2 files changed, 51 insertions, 0 deletions
diff --git a/testrunner/lib_python_tests.py b/testrunner/lib_python_tests.py new file mode 100755 index 0000000000..2fcbccf187 --- /dev/null +++ b/testrunner/lib_python_tests.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +""" +This is what the buildbot runs to execute the lib-python tests +on top of pypy-c. +""" + +import sys, os +import subprocess + +rootdir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) + +popen = subprocess.Popen( + [sys.executable, "pypy/test_all.py", + "--pypy=pypy/goal/pypy-c", + "--timeout=3600", + "--resultlog=cpython.log", "lib-python"], + cwd=rootdir) + +try: + ret = popen.wait() +except KeyboardInterrupt: + popen.kill() + print "\ninterrupted" + ret = 1 + +sys.exit(ret) diff --git a/testrunner/pypyjit_tests.py b/testrunner/pypyjit_tests.py new file mode 100755 index 0000000000..624c67c337 --- /dev/null +++ b/testrunner/pypyjit_tests.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +""" +This is what the buildbot runs to execute the pypyjit tests +on top of pypy-c. +""" + +import sys, os +import subprocess + +rootdir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) + +popen = subprocess.Popen( + ["pypy/goal/pypy-c", "pypy/test_all.py", + "--resultlog=pypyjit_new.log", + "pypy/module/pypyjit/test_pypy_c"], + cwd=rootdir) + +try: + ret = popen.wait() +except KeyboardInterrupt: + popen.kill() + print "\ninterrupted" + ret = 1 + +sys.exit(ret) |