mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Show *full* build command on failure
[SVN r13624]
This commit is contained in:
@@ -101,11 +101,15 @@ class Tester(TestCmd.TestCmd):
|
||||
print "STDERR ============"
|
||||
print self.stderr()
|
||||
raise
|
||||
|
||||
if _failed(self, status):
|
||||
expect = ''
|
||||
if status != 0:
|
||||
expect = " (expected %d)" % status
|
||||
print "%s returned %d%s" % (self.program, _status(self), expect)
|
||||
|
||||
print '"%s %s" returned %d%s' % (
|
||||
self.program, extra_args, _status(self), expect)
|
||||
|
||||
print "STDOUT ============"
|
||||
print self.stdout()
|
||||
print "STDERR ============"
|
||||
|
||||
@@ -101,11 +101,15 @@ class Tester(TestCmd.TestCmd):
|
||||
print "STDERR ============"
|
||||
print self.stderr()
|
||||
raise
|
||||
|
||||
if _failed(self, status):
|
||||
expect = ''
|
||||
if status != 0:
|
||||
expect = " (expected %d)" % status
|
||||
print "%s returned %d%s" % (self.program, _status(self), expect)
|
||||
|
||||
print '"%s %s" returned %d%s' % (
|
||||
self.program, extra_args, _status(self), expect)
|
||||
|
||||
print "STDOUT ============"
|
||||
print self.stdout()
|
||||
print "STDERR ============"
|
||||
|
||||
Reference in New Issue
Block a user