testing: fixed result checking for restart tests

resultchecker.py must configure client-test so that it enables
the restart tests when asked for a list of existing tests. The
nightly HTML overview was incomplete without this change.
This commit is contained in:
Patrick Ohly 2012-03-02 13:30:55 +00:00
parent 3dacbc87a9
commit a1ed2cb9f6
1 changed files with 2 additions and 1 deletions

View File

@ -267,7 +267,8 @@ def step2(resultdir, result, servers, indents, srcdir, shellprefix, backenddir):
# then get added at the end.
for source in ('file_task', 'file_event', 'file_contact', 'eds_contact', 'eds_event'):
os.chdir (srcdir)
fout,fin=popen2.popen2(shellprefix + " env LD_LIBRARY_PATH=build-synthesis/src/.libs SYNCEVOLUTION_BACKEND_DIR="+backenddir +" CLIENT_TEST_SOURCES="+source+" ./client-test -h")
cmd = shellprefix + " env LD_LIBRARY_PATH=build-synthesis/src/.libs SYNCEVOLUTION_BACKEND_DIR="+backenddir +" CLIENT_TEST_PEER_CAN_RESTART=1 CLIENT_TEST_SOURCES="+source+" ./client-test -h"
fout,fin=popen2.popen2(cmd)
os.chdir(oldpath)
for line in fout:
l = line.partition('Client::Sync::'+source+'::')[2].rpartition('\n')[0]