Beispiel #1
0
def pytest_addoption(parser):
    from rpython.conftest import pytest_addoption
    pytest_addoption(parser)

    group = parser.getgroup("pypy options")
    group.addoption(
        '-A',
        '--runappdirect',
        action="store_true",
        default=False,
        dest="runappdirect",
        help="run applevel tests directly on the python interpreter " +
        "specified by --python")
    group.addoption('--python',
                    type="string",
                    default=PYTHON3,
                    help="python interpreter to run appdirect tests with")
    group.addoption('--direct',
                    action="store_true",
                    default=False,
                    dest="rundirect",
                    help="run pexpect tests directly")
    group.addoption(
        '--raise-operr',
        action="store_true",
        default=False,
        dest="raise_operr",
        help="Show the interp-level OperationError in app-level tests")
Beispiel #2
0
def pytest_addoption(parser):
    from rpython.conftest import pytest_addoption
    pytest_addoption(parser)
    
    group = parser.getgroup("pypy options")
    group.addoption('-A', '--runappdirect', action="store_true",
           default=False, dest="runappdirect",
           help="run applevel tests directly on python interpreter (not through PyPy)")
    group.addoption('--direct', action="store_true",
           default=False, dest="rundirect",
           help="run pexpect tests directly")
Beispiel #3
0
def pytest_addoption(parser):
    from rpython.conftest import pytest_addoption
    pytest_addoption(parser)

    group = parser.getgroup("pypy options")
    group.addoption('-A', '--runappdirect', action="store_true",
           default=False, dest="runappdirect",
           help="run applevel tests directly on python interpreter (not through PyPy)")
    group.addoption('--direct', action="store_true",
           default=False, dest="rundirect",
           help="run pexpect tests directly")
    group.addoption('--raise-operr', action="store_true",
            default=False, dest="raise_operr",
            help="Show the interp-level OperationError in app-level tests")
Beispiel #4
0
def pytest_addoption(parser):
    from rpython.conftest import pytest_addoption
    pytest_addoption(parser)

    group = parser.getgroup("pypy options")
    group.addoption('-A', '--runappdirect', action="store_true",
           default=False, dest="runappdirect",
           help="run applevel tests directly on the python interpreter " +
                "specified by --python")
    group.addoption('--python', type="string", default=PYTHON3,
           help="python interpreter to run appdirect tests with")
    group.addoption('--direct', action="store_true",
           default=False, dest="rundirect",
           help="run pexpect tests directly")
    group.addoption('--raise-operr', action="store_true",
            default=False, dest="raise_operr",
            help="Show the interp-level OperationError in app-level tests")