Log failed test output.

This commit is contained in:
Bob Lantz
2013-09-16 11:06:12 -07:00
parent fc2a8fd59a
commit 2f3e8c2bd3
+4 -1
View File
@@ -455,6 +455,8 @@ def sanityTest( vm ):
log( '* Sanity check OK' ) log( '* Sanity check OK' )
else: else:
log( '* Sanity check FAILED' ) log( '* Sanity check FAILED' )
log( '* Sanity check output:' )
log( vm.before )
def coreTest( vm, prompt=Prompt ): def coreTest( vm, prompt=Prompt ):
@@ -475,7 +477,8 @@ def coreTest( vm, prompt=Prompt ):
log( '* Test', test, 'OK' ) log( '* Test', test, 'OK' )
else: else:
log( '* Test', test, 'FAILED' ) log( '* Test', test, 'FAILED' )
log( '* Test', test, 'output:' )
log( vm.before )
def examplesquickTest( vm, prompt=Prompt ): def examplesquickTest( vm, prompt=Prompt ):
"Quick test of mininet examples" "Quick test of mininet examples"