bin.run_tests Namespace Reference

Variables

 parse = optparse.OptionParser()
 
 action
 
 dest
 
 default
 
 help
 
 options
 
 args
 
 maindir = os.getcwd()
 
string program = maindir+"/bin/winnet"
 
string testdir = maindir+"/test"
 
string bindir = maindir+"/bin"
 
 n_tests = len(args)
 
int n_failed = 0
 
 tc = args[i]
 
 t = testcase(tc, maindir)
 
int nd = 3 if len(args)>99 else 2 if len(args)>9 else 1
 
string wt_format = "%" + str(nd) + "d/%" + str(nd) + "d"
 
 whichtest
 
 len_spaces
 
 res = t.deploy()
 

Variable Documentation

◆ action

bin.run_tests.action

Definition at line 23 of file run_tests.py.

◆ args

bin.run_tests.args

Definition at line 27 of file run_tests.py.

◆ bindir

string bin.run_tests.bindir = maindir+"/bin"

Definition at line 38 of file run_tests.py.

◆ default

bin.run_tests.default

Definition at line 24 of file run_tests.py.

◆ dest

bin.run_tests.dest

Definition at line 24 of file run_tests.py.

◆ help

bin.run_tests.help

Definition at line 25 of file run_tests.py.

◆ len_spaces

bin.run_tests.len_spaces

Definition at line 62 of file run_tests.py.

◆ maindir

bin.run_tests.maindir = os.getcwd()

Definition at line 35 of file run_tests.py.

◆ n_failed

int bin.run_tests.n_failed = 0

Definition at line 48 of file run_tests.py.

◆ n_tests

bin.run_tests.n_tests = len(args)

Definition at line 47 of file run_tests.py.

◆ nd

int bin.run_tests.nd = 3 if len(args)>99 else 2 if len(args)>9 else 1

Definition at line 59 of file run_tests.py.

◆ options

bin.run_tests.options

Definition at line 27 of file run_tests.py.

◆ parse

bin.run_tests.parse = optparse.OptionParser()

Definition at line 13 of file run_tests.py.

◆ program

string bin.run_tests.program = maindir+"/bin/winnet"

Definition at line 36 of file run_tests.py.

◆ res

bin.run_tests.res = t.deploy()

Definition at line 69 of file run_tests.py.

◆ t

bin.run_tests.t = testcase(tc, maindir)

Definition at line 58 of file run_tests.py.

◆ tc

bin.run_tests.tc = args[i]

Definition at line 51 of file run_tests.py.

◆ testdir

string bin.run_tests.testdir = maindir+"/test"

Definition at line 37 of file run_tests.py.

◆ whichtest

bin.run_tests.whichtest

Definition at line 61 of file run_tests.py.

◆ wt_format

string bin.run_tests.wt_format = "%" + str(nd) + "d/%" + str(nd) + "d"

Definition at line 60 of file run_tests.py.