On Friday, October 5, 2012 1:32:34 PM UTC-4, John H Palmieri wrote: > > > > On Friday, October 5, 2012 10:09:38 AM UTC-7, kcrisman wrote: >> >> >> >>> User 1@GCO2635 /home/newsagetest/sage-5.4.rc0/devel/sage >>> $../../sage -t sage/functions/piecewise.py >>> sage -t "devel/sage-main/sage/functions/piecewise.py" >>> python: can't open file 'home/User': [Errno 2] No such file or directory >>> >>> Apparently sage -t tries to make a temp directory somewhere and then the >>> fact that my "home" directory is /home/User 1/ in the Windows filesystem >>> causes a problem, right? But I don't think I can change that. >>> >>> $cd >>> $pwd >>> /home/User 1 >>> >>> Is there any way to override that? Otherwise I won't be able to run >>> tests any time soon. >>> >> >> According to >> http://www.sagemath.org/doc/developer/conventions.html#chapter-testing >> >> "Creates the directory .doctest if it does not exist and the file >> .doctest/foo.py." >> >> Unfortunately, it probably does this in the ~ directory, right? No way >> to force something else? >> > > From the installation guide: > > SAGE_TESTDIR - a temporary directory used during Sage’s doctesting. > The default is to use the directory $DOT_SAGE/tmp, but you can override > that by setting this variable. > > So try setting this environment variable. You could also set DOT_SAGE to > something else. > > Thanks, John! I knew this had to be somewhere, but it's not in the "testing" section. In fact, it's neither in
http://www.sagemath.org/doc/developer/doctesting.html nor http://www.sagemath.org/doc/developer/conventions.html I view this as a problem, so I've made this http://trac.sagemath.org/sage_trac/ticket/13582 - kcrisman -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.