Skip to content

Commit

Permalink
We don't use bin/test anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Apr 18, 2015
1 parent 39db5f5 commit 041678e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 122 deletions.
117 changes: 0 additions & 117 deletions bin/test

This file was deleted.

8 changes: 3 additions & 5 deletions sympy/utilities/runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def run_all_tests(test_args=(), test_kwargs={}, doctest_args=(),
"""
Run all tests.
Right now, this runs the regular tests (bin/test), the doctests
Right now, this runs the regular tests (py.test), the doctests
(bin/doctest), the examples (examples/all.py), and the sage tests (see
sympy/external/tests/test_sage.py).
Expand All @@ -243,9 +243,7 @@ def run_all_tests(test_args=(), test_kwargs={}, doctest_args=(),

try:
# Regular tests
if not test(*test_args, **test_kwargs):
# some regular test fails, so set the tests_successful
# flag to false and continue running the doctests
if subprocess.call("py.test --duration=100 sympy", shell=True) != 0:
tests_successful = False

# Doctests
Expand All @@ -266,7 +264,7 @@ def run_all_tests(test_args=(), test_kwargs={}, doctest_args=(),
dev_null = open(os.devnull, 'w')
if subprocess.call("sage -v", shell=True, stdout=dev_null,
stderr=dev_null) == 0:
if subprocess.call("sage -python bin/test "
if subprocess.call("sage -python py.test "
"sympy/external/tests/test_sage.py", shell=True) != 0:
tests_successful = False

Expand Down

0 comments on commit 041678e

Please sign in to comment.