Commit 19429c7a authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Pytest runs: log longest-running tests

parent bf74b4e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ if [ -d test ]; then
    ulimit -c unlimited

    # Need to set both _TEST and _CTX because doctests do not use _TEST.
    ${PY_EXE} -m pytest -rw --tb=native  -rxs $TESTABLES
    ${PY_EXE} -m pytest -rw --durations=10 --tb=native  -rxs $TESTABLES

    # Avoid https://github.com/pytest-dev/pytest/issues/754:
    # add --tb=native
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ if [ -d test ]; then
    ulimit -c unlimited

    # Need to set both _TEST and _CTX because doctests do not use _TEST.
    ${PY_EXE} -m pytest -rw --tb=native  -rxsw $TESTABLES
    ${PY_EXE} -m pytest -rw --durations=10 --tb=native  -rxsw $TESTABLES

    # Avoid https://github.com/pytest-dev/pytest/issues/754:
    # add --tb=native