runtests Namespace Reference


Classes

class  Action
class  Context
class  CVSCheckout
class  SVNCheckout
class  ClientCheckout
class  AutotoolsBuild
class  SyncEvolutionTest
class  EvoSvn
class  SyncEvolutionCheckout
class  SyncEvolutionBuild
class  SyncEvolutionCross
class  SyncEvolutionDist
class  SynthesisTest
class  FunambolTest

Functions

def cd
def abspath
def del_dir
def copyLog

Variables

 havegzip = True
 context = None
tuple parser = optparse.OptionParser()
string action = "append"
string help = "use this to enable specific actions instead of executing all of them (can be used multiple times)"
string type = "string"
tuple evosvn
tuple pre = Action("")
 testPrefix = options.testprefix))
tuple client = ClientCheckout("client-api", options.clienttag)
tuple sync = SyncEvolutionCheckout("syncevolution", options.syncevotag)
string client_source = "--with-funambol-src=%s"
tuple compile
tuple cross = SyncEvolutionCross(sync.basedir, client.basedir, options.host, options.oedir, [ client.name, sync.name, compile.name ])
tuple dist
tuple evolutiontest
tuple scheduleworldtest
tuple memotootest
tuple egroupwaretest
tuple synthesis
tuple funambol

Function Documentation

def runtests::abspath (   path  ) 

Absolute path after expanding vars and user.

Definition at line 31 of file runtests.py.

def runtests::cd (   path  ) 

Enter directories, creating them if necessary.

Definition at line 25 of file runtests.py.

def runtests::copyLog (   filename,
  dirname,
  htaccess,
  lineFilter = None 
)

Make a gzipped copy (if possible) with the original time stamps and find the most severe problem in it.
That line is then added as description in a .htaccess AddDescription.

Definition at line 49 of file runtests.py.

def runtests::del_dir (   path  ) 

Definition at line 35 of file runtests.py.


Variable Documentation

string runtests::action = "append"

Definition at line 406 of file runtests.py.

tuple runtests::client = ClientCheckout("client-api", options.clienttag)

Definition at line 550 of file runtests.py.

Referenced by SyncEvolutionCmdline::run(), and TestEvolution::sync().

string runtests::client_source = "--with-funambol-src=%s"

Definition at line 555 of file runtests.py.

Initial value:

SyncEvolutionBuild("compile",
                             sync.basedir,
                             "%s %s" % (options.configure, client_source),
                             options.shell,
                             [ client.name, sync.name ])

Definition at line 558 of file runtests.py.

tuple runtests::context = None

Definition at line 263 of file runtests.py.

tuple runtests::cross = SyncEvolutionCross(sync.basedir, client.basedir, options.host, options.oedir, [ client.name, sync.name, compile.name ])

Definition at line 586 of file runtests.py.

Initial value:

SyncEvolutionDist("dist",
                         options.binsuffix,
                         options.packagesuffix,
                         options.shell,
                         [ compile.name ])

Definition at line 607 of file runtests.py.

Initial value:

SyncEvolutionTest("egroupware", compile,
                                   "", options.shell,
                                   [ "Client::Sync::vcard21", "Client::Sync::ical20::testCopy", "Client::Sync::ical20::testUpdate", "Client::Sync::ical20::testDelete", \
                                     "Client::Sync::vcard21_ical20::testCopy", "Client::Sync::vcard21_ical20::testUpdate", "Client::Sync::vcard21_ical20::testDelete" \
                                     "Client::Sync::ical20_vcard21::testCopy", "Client::Sync::ical20_vcard21::testUpdate", "Client::Sync::ical20_vcard21::testDelete"  ],
                                   # ContactSync::testRefreshFromServerSync,ContactSync::testRefreshFromClientSync,ContactSync::testDeleteAllRefresh,ContactSync::testRefreshSemantic,ContactSync::testRefreshStatus - refresh-from-client not supported by server
                                   # ContactSync::testOneWayFromClient - not supported by server?
                                   # ContactSync::testItems - loses a lot of information
                                   # ContactSync::testComplexUpdate - only one phone number preserved
                                   # ContactSync::testMaxMsg,ContactSync::testLargeObject,ContactSync::testLargeObjectBin - server fails to parse extra info?
                                   # ContactSync::testTwinning - duplicates contacts
                                   # CalendarSync::testCopy,CalendarSync::testUpdate - shifts time?
                                   "CLIENT_TEST_SOURCES=vcard21,ical20 CLIENT_TEST_SERVER=egroupware CLIENT_TEST_FAILURES=ContactSync::testRefreshFromServerSync,ContactSync::testRefreshFromClientSync,ContactSync::testDeleteAllRefresh,ContactSync::testRefreshSemantic,ContactSync::testRefreshStatus,ContactSync::testOneWayFromClient,ContactSync::testAddUpdate,ContactSync::testItems,ContactSync::testComplexUpdate,ContactSync::testTwinning,ContactSync::testMaxMsg,ContactSync::testLargeObject,ContactSync::testLargeObjectBin,CalendarSync::testCopy,CalendarSync::testUpdate",
                                   lambda x: x.replace('oasis.ethz.ch','<host hidden>').\
                                             replace('cG9obHk6cWQyYTVtZ1gzZk5GQQ==','xxx'),
                                   testPrefix=options.testprefix)

Definition at line 638 of file runtests.py.

Initial value:

SyncEvolutionTest("evolution", compile,
                                  "", options.shell,
                                  [ "Client::Source", "SyncEvolution" ],
                                  testPrefix=options.testprefix)

Definition at line 614 of file runtests.py.

Initial value:

EvoSvn("evolution" + name,
                    os.path.join(options.tmpdir, "evolution%s-build" % name),
                    os.path.join(options.tmpdir, "evolution%s-result" % name),
                    path,
                    "SUDO=true")

Definition at line 520 of file runtests.py.

Initial value:

FunambolTest("funambol", compile,
                        options.funamboldir,
                        options.shell,
                        options.testprefix)

Definition at line 705 of file runtests.py.

Definition at line 21 of file runtests.py.

string runtests::help = "use this to enable specific actions instead of executing all of them (can be used multiple times)"

Initial value:

SyncEvolutionTest("memotoo", compile,
                                "", options.shell,
                                [ "Client::Sync" ],
                                "CLIENT_TEST_NUM_ITEMS=10 CLIENT_TEST_FAILURES= CLIENT_TEST_SOURCES=ical20,vcard21,itodo20,text CLIENT_TEST_SERVER=memotoo CLIENT_TEST_DELAY=15",
                                testPrefix=options.testprefix)

Definition at line 631 of file runtests.py.

tuple runtests::parser = optparse.OptionParser()

Definition at line 404 of file runtests.py.

tuple runtests::pre = Action("")

Definition at line 528 of file runtests.py.

Initial value:

SyncEvolutionTest("scheduleworld", compile,
                                      "", options.shell,
                                      [ "Client::Sync" ],
                                      "CLIENT_TEST_NUM_ITEMS=10 CLIENT_TEST_FAILURES=Client::Sync::vcard30::testCopy CLIENT_TEST_SOURCES=ical20,vcard30,itodo20,text CLIENT_TEST_SERVER=scheduleworld CLIENT_TEST_DELAY=5",
                                      testPrefix=options.testprefix)

Definition at line 624 of file runtests.py.

tuple runtests::sync = SyncEvolutionCheckout("syncevolution", options.syncevotag)

Definition at line 552 of file runtests.py.

Referenced by SyncEvolutionCmdline::run().

Initial value:

SynthesisTest("synthesis", compile,
                          options.synthesisdir,
                          options.shell,
                          options.testprefix)

Definition at line 675 of file runtests.py.

runtests::testPrefix = options.testprefix))

Definition at line 534 of file runtests.py.

string runtests::type = "string"


Generated on Sat Oct 18 17:17:08 2008 for SyncEvolution and Funambol by  doxygen 1.5.7.1