Fix walkthrough test path
This commit is contained in:
+2
-1
@@ -502,7 +502,7 @@ def walkthroughTest( vm, prompt=Prompt ):
|
|||||||
"Test mininet walkthrough"
|
"Test mininet walkthrough"
|
||||||
vm.sendline( 'sudo apt-get install python-pexpect' )
|
vm.sendline( 'sudo apt-get install python-pexpect' )
|
||||||
vm.expect( prompt )
|
vm.expect( prompt )
|
||||||
vm.sendline( 'sudo python ~/mininet/test/test_walkthrough.py -v' )
|
vm.sendline( 'sudo python ~/mininet/mininet/test/test_walkthrough.py -v' )
|
||||||
|
|
||||||
|
|
||||||
def checkOutBranch( vm, branch, prompt=Prompt ):
|
def checkOutBranch( vm, branch, prompt=Prompt ):
|
||||||
@@ -723,6 +723,7 @@ def build( flavor='raring32server' ):
|
|||||||
|
|
||||||
def runTests( vm, tests=None, prompt=Prompt ):
|
def runTests( vm, tests=None, prompt=Prompt ):
|
||||||
"Run tests (list) in vm (pexpect object)"
|
"Run tests (list) in vm (pexpect object)"
|
||||||
|
print 'TESTS = ', tests
|
||||||
if not tests:
|
if not tests:
|
||||||
tests = [ 'sanity', 'core' ]
|
tests = [ 'sanity', 'core' ]
|
||||||
testfns = testDict()
|
testfns = testDict()
|
||||||
|
|||||||
Reference in New Issue
Block a user