Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'noon': 0.05; 'indeed,': 0.07; 'tests,': 0.07; 'executes': 0.09; 'received:mail- bw0-f46.google.com': 0.09; 'retcode': 0.09; 'output': 0.10; 'tries': 0.15; '*and': 0.16; '*do*': 0.16; 'block,': 0.16; "doesn't.": 0.16; 'executable,': 0.16; 'fancy': 0.16; 'generated,': 0.16; 'quantum': 0.16; 'received:209.85.214.46': 0.16; 'shell=true)': 0.16; 'should.': 0.16; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'tests': 0.25; 'xml': 0.25; 'fine': 0.26; 'windows': 0.26; 'load': 0.26; "i'm": 0.27; 'received:209.85.214': 0.28; 'exit': 0.29; 'message- id:@mail.gmail.com': 0.29; 'ran': 0.30; 'subject: + ': 0.30; 'least': 0.31; 'does': 0.32; 'anyone': 0.32; "isn't": 0.33; 'it.': 0.33; 'actually': 0.33; 'to:addr:python-list': 0.33; 'that,': 0.33; 'however,': 0.34; '...': 0.34; 'test': 0.34; 'here,': 0.35; 'running': 0.35; 'trouble': 0.35; 'anything': 0.36; 'skip:" 10': 0.36; 'run': 0.37; 'but': 0.37; 'think': 0.38; 'signal': 0.38; 'some': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'correctly': 0.39; 'thoughts': 0.39; 'url:en': 0.39; 'help': 0.39; 'to:addr:python.org': 0.39; 'happens': 0.40; 'charset:windows-1252': 0.60; 'url:groups': 0.64; 'further': 0.64; 'claims': 0.80; 'so:': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=YEK8rspjerUB/L4EHed87JtSkJszaKKymt1lMZeLipk=; b=HY7vL1cVe8ux/wsPcNY8I+0EocOAsSw+DWoKD24u6e1FDWGzT6QdhlCMq9oKeP/w34 +59hFGUGvP6noyQQSH/tscvUwiIMtho8Gn9bku0NihopX1nNLswtgtNhOB3NhQgOzy0G 9XUhmLou7uHrJRVXzQcQJYSNq+/e7/FBcYllQ= MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 19 Aug 2011 11:02:52 +1000 Subject: nose + processes + xunit From: Noon Silk To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313715775 news.xs4all.nl 23962 [2001:888:2000:d::a6]:49218 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11820 Has anyone had any trouble with this setup? I am in a situation where, the tests run fine when I don't include "--processes=3DN", however, when I *do* do that, they exit early? The reason I think they exit, is that I'm actually running a different executable, and I load it like so: retcode =3D subprocess.call(["start /wait myprog.exe"], shell=3DTrue) Now, note that this is on Windows 7; the "start /wait" does basically exactly what you think. *And indeed it operates correctly in a single process*, but when nose tries to run multi-process, it fails to block, and the test executes far sooner than it should. Indeed, Nose claims that it ran 0 tests, when it actually at least ran 1! So, I think the myprog.exe is sending some signal to kill it. It so happens that start has a "/B" =A0parameter that may also help here, but actually it doesn't. The result is that I don't get any further output from the test (that is, the xunit xml isn't generated, and even the console doesn't report anything as having happened). Interested in thoughts ... --=20 Noon Silk Fancy a quantum lunch? http://groups.google.com/group/quantum-lunch?hl=3Den "Every morning when I wake up, I experience an exquisite joy =97 the joy of being this signature."