Log failed test output.
This commit is contained in:
+4
-1
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user