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

Commit

Permalink
src/bin/sage: Show tox environment list in 'sage -advanced'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 30, 2020
1 parent 4a3a33a commit b0ad03e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/bin/sage
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,14 @@ usage_advanced() {
if [ -n "$SAGE_SRC" -a -f "$SAGE_SRC/tox.ini" ]; then
echo " --tox [options] <files|dirs> -- general entry point for testing"
echo " and linting of the Sage library"
echo " --listenvs -v -- show list of test environments"
echo " -e <envlist> -- run tests environments"
echo " -e <envlist> -- run specific test environments (default: run all)"
tox -c "$SAGE_SRC" --listenvs -v 2>/dev/null | sed -n '/->/s/^/ /;s/(same as/\
(same as/;s/->/ --/p;'
echo " -p auto -- run test environments in parallel"
echo " --help -- show tox help"
command -v tox &>/dev/null || \
echo " (not installed currently, run sage -i tox)"
fi
command -v tox &>/dev/null || \
echo " (not installed currently, run sage -i tox)"
echo
echo "Some developer utilities:"
echo
Expand Down

0 comments on commit b0ad03e

Please sign in to comment.