Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/sagelib/src/tox.ini: Update tests and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Nov 14, 2020
1 parent 55d59f8 commit e2d498f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build/pkgs/sagelib/src/tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# First pip-install tox:
# First install tox:
#
# ./sage -pip install tox
# ./sage -i tox
#
# To build and test in the tox environment:
#
# ./sage -sh -c '(cd build/pkgs/sagelib/src && tox -v -v)'
# ./sage -sh -c '(cd build/pkgs/sagelib/src && tox -v -v -v)'
#
# To test interactively:
#
Expand All @@ -29,7 +29,7 @@ commands =
# Beware of the treacherous non-src layout. "./sage/" shadows the install sage package.
python -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.all; print(sage.all.__file__)'

# FIXME: The following loads sage-env, which loads the wrong Python.
# We check that the "sage" script invokes the correct Python.
sage -c 'import sys; print("sys.path =", sys.path); import sage.all; print(sage.all.__file__)'

sage -t --all
sage -t -p --all

0 comments on commit e2d498f

Please sign in to comment.