Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59475
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mail@timgolden.me.uk> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.05; 'debug': 0.07; 'plenty': 0.07; 'tests.': 0.07; 'seemed': 0.09; 'python': 0.11; 'windows': 0.15; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'invokes': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'mode,': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; "test'": 0.16; "tim's": 0.16; 'tjg': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'bit': 0.19; 'trying': 0.19; '(where': 0.19; 'result.': 0.19; 'thu,': 0.19; 'tests': 0.22; 'header:User-Agent:1': 0.23; 'source': 0.25; 'chapter': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'specifically': 0.29; 'testing': 0.29; "i'm": 0.30; '(which': 0.31; 'searches': 0.31; 'figure': 0.32; 'front': 0.32; 'quite': 0.32; 'running': 0.33; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'google': 0.35; 'building': 0.35; '14,': 0.36; 'subject:?': 0.36; 'unit': 0.37; 'turn': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'most': 0.60; "you're": 0.61; 'further': 0.61; 'from:addr:mail': 0.83; 'built,': 0.84; 'russell': 0.84; 'obvious,': 0.91; 'ware': 0.91; '2013': 0.98 |
| Date | Thu, 14 Nov 2013 20:18:04 +0000 |
| From | Tim Golden <mail@timgolden.me.uk> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Running python's own unit tests? |
| References | <rowen-D197FD.11120814112013@news.gmane.org> <CAKJDb-M7jT56FTtQ4Fhh4ymjJ1NRkcW1a=xnvv+z94eNu4hZ+Q@mail.gmail.com> |
| In-Reply-To | <CAKJDb-M7jT56FTtQ4Fhh4ymjJ1NRkcW1a=xnvv+z94eNu4hZ+Q@mail.gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2622.1384460280.18130.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1384460280 news.xs4all.nl 15977 [2001:888:2000:d::a6]:60440 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:59475 |
Show key headers only | View raw
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