~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_setup.py

  • Committer: Andrea Corbellini
  • Date: 2010-09-04 15:34:10 UTC
  • mfrom: (5409 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5416.
  • Revision ID: corbellini.andrea@gmail.com-20100904153410-yybczvr4j1tmztdy
Merge with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        self.log('args: %r', args)
75
75
        p = subprocess.Popen(args,
76
76
                             cwd=self.source_dir,
77
 
                             stdout=self._log_file,
78
 
                             stderr=self._log_file,
 
77
                             stdout=subprocess.PIPE,
 
78
                             stderr=subprocess.PIPE,
79
79
                             )
80
 
        s = p.communicate()
 
80
        stdout, stderr = p.communicate()
 
81
        self.log('stdout: %r', stdout)
 
82
        self.log('stderr: %r', stderr)
81
83
        self.assertEqual(0, p.returncode,
82
84
                         'invocation of %r failed' % args)