Author: Ronny Pfannschmidt <[email protected]>
Branch: pytest
Changeset: r60263:fb7a8dc86ae4
Date: 2013-01-21 01:54 +0100
http://bitbucket.org/pypy/pypy/changeset/fb7a8dc86ae4/
Log: fix up viewer options and kill them from rpython conftest
diff --git a/rpython/conftest.py b/rpython/conftest.py
--- a/rpython/conftest.py
+++ b/rpython/conftest.py
@@ -34,15 +34,9 @@
def pytest_addoption(parser):
group = parser.getgroup("rpython options")
- group.addoption('--view', action="store_true", dest="view", default=False,
- help="view translation tests' flow graphs with Pygame")
group.addoption('-P', '--platform', action="callback", type="string",
default="host", callback=_set_platform,
help="set up tests to use specified platform as compile/run target")
- group = parser.getgroup("JIT options")
- group.addoption('--viewloops', action="store_true",
- default=False, dest="viewloops",
- help="show only the compiled loops")
def pytest_pycollect_makeitem(__multicall__,collector, name, obj):
diff --git a/rpython/tool/pytest/viewerplugin.py
b/rpython/tool/pytest/viewerplugin.py
--- a/rpython/tool/pytest/viewerplugin.py
+++ b/rpython/tool/pytest/viewerplugin.py
@@ -17,7 +17,7 @@
def pytest_addoption(parser):
- group = parser.getgroup("pypy options")
+ group = parser.getgroup("rpython options")
group.addoption('--view', action="store_true", dest="view", default=False,
help="view translation tests' flow graphs with Pygame")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit