~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to buildout-templates/bin/test.in

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-08-17 17:55:28 UTC
  • mfrom: (10866.2.17 fix-test_on_merge-578886)
  • Revision ID: launchpad@pqm.canonical.com-20100817175528-e8vut73mcwk2fo21
[r=mwhudson][ui=none][bug=578886] Clean up the test_on_merge.py code
        to make it handle suite errors correctly. Removed the tabnanny
        checker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
BUILD_DIR = ${buildout:directory|path-repr}
46
46
CUSTOM_SITE_DIR = ${scripts:parts-directory|path-repr}
47
47
 
48
 
if os.getsid(0) == os.getsid(os.getppid()):
49
 
    # We need to become the process group leader so test_on_merge.py
50
 
    # can reap its children.
51
 
    #
52
 
    # Note that if setpgrp() is used to move a process from one
53
 
    # process group to another (as is done by some shells when
54
 
    # creating pipelines), then both process groups must be part of
55
 
    # the same session.
56
 
    os.setpgrp()
57
48
 
58
49
# Make tests run in a timezone no launchpad developers live in.
59
50
# Our tests need to run in any timezone.