runtests.py: added Yahoo and Google CalDAV/CardDAV testing
Added separate Client::Source tests for Yahoo CalDAV/CardDAV and Google CalDAV. Reporting the results needs to know that these "servers" are local tests. These tests can only be run if CLIENT_TEST_WEBDAV is set as expected by WebDAVSourceRegister.cpp.
This commit is contained in:
parent
b64763ee53
commit
3ad1911705
|
@ -157,7 +157,7 @@ def step2(resultdir, result, servers, indents, srcdir, shellprefix, backenddir):
|
|||
runservers = os.listdir(resultdir)
|
||||
#list source test servers statically, we have no idea how to differenciate
|
||||
#automatically whether the server is a source test or sync test.
|
||||
sourceServers = ['evolution', 'evolution-prebuilt-build']
|
||||
sourceServers = ['evolution', 'evolution-prebuilt-build', 'yahoo', 'googlecalendar']
|
||||
sourceServersRun = 0
|
||||
haveSource = False
|
||||
#Only process servers listed in the input parameter and in the sourceServer
|
||||
|
|
|
@ -742,6 +742,27 @@ evolutiontest = SyncEvolutionTest("evolution", compile,
|
|||
testPrefix=options.testprefix)
|
||||
context.add(evolutiontest)
|
||||
|
||||
test = SyncEvolutionTest("googlecalendar", compile,
|
||||
"", options.shell,
|
||||
[ "Client::Source::google_caldav" ],
|
||||
[ "google_caldav" ],
|
||||
"CLIENT_TEST_WEBDAV='google caldav' "
|
||||
"CLIENT_TEST_SIMPLE_UID=1 " # server gets confused by UID with special characters
|
||||
"CLIENT_TEST_UNIQUE_UID=1 " # server keeps backups and restores old data unless UID is unieque
|
||||
,
|
||||
testPrefix=options.testprefix)
|
||||
context.add(test)
|
||||
|
||||
test = SyncEvolutionTest("yahoo", compile,
|
||||
"", options.shell,
|
||||
[ "Client::Source::yahoo_caldav Client::Source::yahoo_carddav" ],
|
||||
[ "yahoo_caldav", "yahoo_carddav" ],
|
||||
"CLIENT_TEST_WEBDAV='yahoo caldav carddav' "
|
||||
"CLIENT_TEST_SIMPLE_UID=1 " # server gets confused by UID with special characters
|
||||
,
|
||||
testPrefix=options.testprefix)
|
||||
context.add(test)
|
||||
|
||||
scheduleworldtest = SyncEvolutionTest("scheduleworld", compile,
|
||||
"", options.shell,
|
||||
[ "Client::Sync" ],
|
||||
|
|
Loading…
Reference in New Issue