Back to index

enigmail  1.4.3
Classes | Namespaces | Functions | Variables
runtests.py File Reference

Go to the source code of this file.

Classes

class  runtests.ParentDict

Namespaces

namespace  runtests

Functions

def runtests.runTest

Variables

tuple runtests.thisdir = os.path.dirname(os.path.abspath(__file__))
list runtests.pymake = [sys.executable, os.path.join(os.path.dirname(thisdir), 'make.py')]
tuple runtests.manifest = os.path.join(thisdir, 'tests.manifest')
tuple runtests.o = OptionParser()
string runtests.dest = "gmake"
list runtests.args = [thisdir]
list runtests.makefiles = []
int runtests.gmakefails = 0
int runtests.pymakefails = 0
tuple runtests.tre = re.compile('^#T (gmake |pymake )?([a-z-]+)(?:: (.*))?$')
list runtests.cline = ['-C', opts.tempdir, '-f', os.path.abspath(makefile), 'TESTPATH=%s' % thisdir.replace('\\','/'), 'NATIVE_TESTPATH=%s' % thisdir]
dictionary runtests.options
tuple runtests.gmakeoptions = ParentDict(options)
tuple runtests.pymakeoptions = ParentDict(options)
dictionary runtests.dmap = {None: options, 'gmake ': gmakeoptions, 'pymake ': pymakeoptions}
tuple runtests.mdata = open(makefile)
tuple runtests.line = line.strip()
tuple runtests.m = tre.search(line)
list runtests.d = dmap[make]
tuple runtests.data = eval(data)
string runtests.gmakemsg = "UNEXPECTED PASS"
string runtests.pymakemsg = "UNEXPECTED PASS"