Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c4a036

Browse files
committed
Debug pytest too.
1 parent 0131b53 commit 1c4a036

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ci/travis/test_script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
2020
pytest $PYTEST_ARGS $RUN_PEP8
2121
exit $?
2222
else
23-
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
23+
python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
2424
exit_val=$?
25-
echo "gdb exited with result $exit_val"
25+
echo "pytest exited with result $exit_val"
2626
exit $exit_val
2727
fi

0 commit comments

Comments
 (0)