[issue17750] allow the testsuite to run in the installed location

2019-02-24 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2015-09-14 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +test_compileall fails when run by unprivileged user on installed 
Python, test_zipfile failure when run by unprivileged user with installed Python

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2015-09-14 Thread Matthias Klose

Changes by Matthias Klose :


--
dependencies: +test_code_module tests fail when run from the installed location

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2014-11-18 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test failure introduced by the fix for issue #22462

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2014-07-16 Thread Mark Lawrence

Mark Lawrence added the comment:

How do we stand with eight outstanding issues here?

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2014-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_compileall fails to build in the installed location

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2014-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_zipfile fails to run in the installed location

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-17 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_pydoc fails with the installed testsuite (2.7)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

New submission from Matthias Klose:

[Meta issue, opening separate issues for test cases]

The default install always installs the testsuite together with all the python 
batteries. So make sure that you can run the testsuite can run from the 
installed location too.

 - some tests require the sources to run (using the srcdir macro,
   or files not installed, e.g. xxmodule.c).

 - some tests assume write permissions.

 - some tests assume not being run as root.

--
assignee: doko
components: Tests
messages: 187066
nosy: doko
priority: normal
severity: normal
stage: needs patch
status: open
title: allow the testsuite to run in the installed location
type: enhancement
versions: Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_shutil.TestWhich.test_non_matching_mode fails when running 
as root

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
nosy: +jibel

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +ctypes/test/test_macholib.py fails when run from the installed 
location

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +many distutils tests fail when run from the installed location

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_zipfile: requires write access to test and email.test

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_ctypes assumes LANG=C LC_ALL=C

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_builtin assumes LANG=C

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_syntax_error fails when run in the installed location

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_executable_without_cwd fails when run in the installed 
location

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


--
nosy: +barry

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_site fails when the user does not have a home directory

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread R. David Murray

R. David Murray added the comment:

This has been fixed and broken again several times in the past[1].  We need a 
buildbot that runs the tests installed[2].  Antoine, do you have any thoughts 
about how to set up such a thing?  I'm willing to host it.

[1] I believe there used to be a program that ran the tests installed, from a 
cronjob on some dedicated machine somewhere.  It also ran a -R run, I think, as 
well as being part of a job that built the docs.  When the doc building 
strategy was changed, somewhere in the process of the transition to Python3 
(the program was Python2 only, I believe), it seems to have been taken offline 
completely.

[2] failing when run as root is a separate problem, and less practical to set a 
buildbot run for, though since my buildbots run in VMs, it is not completely 
out of the question.

--
nosy: +pitrou, r.david.murray
type: enhancement - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_pydoc fails with the installed testsuite

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Ned Deily

Ned Deily added the comment:

We could change an existing buildbot, say one of the snakebite buildbots, to 
add a `make install` and run the tests from it.  I don't think it should be 
very difficult.  Just make sure ./configure --prefix= has a reasonable value 
like a dedicated directory (rather than /usr/local), avoid --enable-shared, rm 
-r on the prefix directories prior to the `make install` step, and cd to some 
clean directory (other than the source or build directories) then run the tests 
from `prefix/bin/python -m test (or test.regrtest for 2.7) ...

--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread R. David Murray

R. David Murray added the comment:

It occurs to me that the tricky bit is that the install directory contents 
should be (a) read-only (easy) and ideally (b) owned by root (a little 
trickier, but doable with a setuid script or tailored sudo command).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
dependencies: +test_subprocess test_executable_without_cwd fails when run with 
installed python

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose

Matthias Klose added the comment:

it doesn't have to be root, just another user as for running the testsuite.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread R. David Murray

R. David Murray added the comment:

Right, it doesn't *have* to be root, but that would be the typical situation 
when the tests are run with Python installed.  Having it be any other user 
still requires some privilege increase.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com