Revision 18aab5b7 mininet/test/runner.py

View differences:

mininet/test/runner.py
26 26
if __name__ == '__main__':
27 27
    setLogLevel( 'warning' )
28 28
    # get the directory containing example tests
29
    testDir = os.path.dirname( os.path.realpath( __file__ ) )
30
    verbosity = 2 if '-v' in sys.argv else 1
31
    runTests( testDir, verbosity )
29
    thisdir = os.path.dirname( os.path.realpath( __file__ ) )
30
    vlevel = 2 if '-v' in sys.argv else 1
31
    runTests( testDir=thisdir, verbosity=vlevel )

Also available in: Unified diff