Commits

Steven Knight  committed 51db5a3

Still better error reporting in TestSCons.py.

  • Participants
  • Parent commits 65117f6

Comments (0)

Files changed (1)

File etc/TestSCons.py

 	    print self.stderr()
 	    raise
 	if self.status:
-	    print self.progam + " returned " + (self.status >> 8)
+	    print "%s returned %d" % (self.program, self.status >> 8)
 	    print "STDERR ============"
 	    print self.stderr()
 	    raise TestFailed
 	    print stdout
 	    print "Actual STDOUT ============"
 	    print self.stdout()
+	    stderr = self.stderr()
+	    if stderr:
+		print "STDERR ==================="
+		print stderr
 	    raise TestFailed
 	if stderr and not self.match(self.stderr(), stderr):
 	    print "Expected STDERR =========="