pypy / pypy / translator / jvm /

Benjamin Peterso… 6deaa5b 

holger krekel 7dcd918 

nikomatsakis 81e6e18 
Samuele Pedroni 3353f63 
holger krekel 9268676 
Samuele Pedroni 3353f63 

import py, sys

def pytest_runtest_setup(item):
    if sys.maxint > 2147483647: # 64bit platform
        py.test.skip("jvm backend on 64bit unsupported")

def pytest_addoption(parser):
    group = parser.getgroup("pypy-jvm options")
    group.addoption('--java', action='store', dest='java', default='java',
            help='Define the java executable to use')
    group.addoption('--javac', action='store', dest='javac',
                    help='Define the javac executable to use')
    group.addoption('--jasmin', action='store', dest='java', default='java',
            help='Define the jasmin script to use')
    group.addoption('--noassemble', action='store_true', dest="noasm",
                    help="don't assemble jasmin files")
    group.addoption('--package', action='store', dest='package',
                    help='Package to output generated classes into')

    group.addoption('--byte-arrays', action='store_true',
                    help='Use byte arrays rather than native strings')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.