Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59475
| Date | 2013-11-14 20:18 +0000 |
|---|---|
| From | Tim Golden <mail@timgolden.me.uk> |
| Subject | Re: Running python's own unit tests? |
| References | <rowen-D197FD.11120814112013@news.gmane.org> <CAKJDb-M7jT56FTtQ4Fhh4ymjJ1NRkcW1a=xnvv+z94eNu4hZ+Q@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2622.1384460280.18130.python-list@python.org> (permalink) |
On 14/11/2013 20:13, Zachary Ware wrote: > On Thu, Nov 14, 2013 at 1:12 PM, Russell E. Owen <rowen@uw.edu> wrote: >> I'm building python from source and trying to figure out how to test the >> result. I must be overlooking something obvious, but I looked through >> the documentation and source and tried some google searches (which turn >> up plenty about writing unit tests in python, but nothing about testing >> a python distribution). >> >> Any hints? > > `python -m test -uall` will test everything (where 'python' invokes > the interpreter you built, which may be "python_d.exe" on Windows if > you built in Debug mode, or "python.exe" on OSX). If you're testing > 2.7, '-m test' needs to be '-m test.regrtest'. > > For any further detail, check Tim's link to the devguide, specifically > the chapter on running tests. > Sorry if I seemed a bit terse; I was just on my way downstairs. But the front page his quite neat instructions for building and testing on most platforms. TJG
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Running python's own unit tests? Tim Golden <mail@timgolden.me.uk> - 2013-11-14 20:18 +0000
csiph-web