Trees | Indices | Help |
|
---|
|
Local Schrodinger py.test customizations.
todo: It would be nice to have a SCHRODINGER traceback printer that removed $SCHRODINGER from each path.
|
|||
ExecutableFile A compiled executable file that should be executed as a test. |
|||
ProcessDied | |||
KilledProcess | |||
BoostTestFailure | |||
ExecutableTest Use $SCHRODINGER/run to execute a file with no arguments. |
|||
Makefile | |||
MakefileTest Run the `make test` target in a directory. |
|||
PerceptualDiffTest The tests that use perceptualdiff all require some boilerplate arguments. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
SCHRODINGER_RUN =
|
|||
MEMTEST =
|
|||
MESA_VERSION =
|
|||
_QAPP = None hash(x) |
|||
__package__ =
|
|
Execute each test in the directory where the test file lives. Capture exceptions that occur outside of the main thread (for instance in event loops). |
Add Schrodinger options to run the post tests, or just the fastest tests. This is a pytest hook. |
Add "additional_paths" to the PYTHONPATH. Also adds schrodinger.test and the test_modules directory. |
Post-Process the pytest configuration. Basically to overload the -m argument and play well with --pypath.
|
Print Killed tests. Change reporting for failed tests. |
At the end of the py.test process, report: * memory use * all processes belonging to current user (for user buildbot) This is done as late as possible so that parallel py.tests from pytest-xdist won't interfere. |
Pytest function: Should "path" be collected as a test? Adds compiled tests. |
Does the current display use an old version of Mesa graphics? If so, we probably want to use a newer Mesa version for the tests. |
Start a qapp in this process if a display is present.
|
|
SCHRODINGER_RUN
|
MEMTEST
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:19 2016 | http://epydoc.sourceforge.net |