~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_setup.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-19 17:53:37 UTC
  • mto: This revision was merged to the branch mainline in revision 4466.
  • Revision ID: john@arbash-meinel.com-20090619175337-uozt3bntdd48lh4z
Update time_graph to use X:1 ratios rather than 0.xxx ratios.
It is just easier to track now that the new code is much faster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2008, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2005, 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
74
74
        self.log('args: %r', args)
75
75
        p = subprocess.Popen(args,
76
76
                             cwd=self.source_dir,
77
 
                             stdout=subprocess.PIPE,
78
 
                             stderr=subprocess.PIPE,
 
77
                             stdout=self._log_file,
 
78
                             stderr=self._log_file,
79
79
                             )
80
 
        stdout, stderr = p.communicate()
81
 
        self.log('stdout: %r', stdout)
82
 
        self.log('stderr: %r', stderr)
 
80
        s = p.communicate()
83
81
        self.assertEqual(0, p.returncode,
84
82
                         'invocation of %r failed' % args)