Hi sage-devel,
I would like that when sage -t is run on a local_file.sage, then it first
loads $DOT_SAGE/init.sage. The part of code related to "-t" in the script
src/bin/sage actually checks that the init.sage file exists:
if [ ! -f "$DOT_SAGE"/init.sage ]; then
echo >&2 "init.sage does not exist ... creating"
touch "$DOT_SAGE"/init.sage
fi
but it seems that init.sage is not loaded afterwards before tests. Do we
agree that init.sage should be loaded by sage -t when run on local files ?
My motivation is the following. I would like to run tests on my optional
package slabbe-0.1.spkg by simply adding "from slabbe import *" in the
init.sage file.
Thanks,
Sébastien
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.