-pthreads_factory= factory.BuildFactory()
-pthreads_factory.addStep(step.SVN, name ="{svn update}",baseURL='svn://scm.gforge.inria.fr/svn/simgrid/simgrid/', defaultBranch='trunk', mode="update")
-pthreads_factory.addStep(step.ShellCommand,name = "{svn revert}",description = "running svn revert",descriptionDone = "svn revert",haltOnFailure = 1,command=["svn" ,"revert","-R","build"])
-pthreads_factory.addStep(step.ShellCommand,name = "{configure}",command=["./configure", "--with-pthread", "--enable-botbuild"])
-pthreads_factory.addStep(step.ShellCommand,name = "{make clean}",command=["make", "clean"])
-pthreads_factory.addStep(step.ShellCommand,name = "{make}",command=["make","-j","4"])
-pthreads_factory.addStep(step.ShellCommand,name ="{check all}",command=["./checkall"])
-#pthreads_factory.addStep(step.ShellCommand,name ="{make distcheck}",command=["make", "distcheck"])
-
-ucontext_factory= factory.BuildFactory()
-ucontext_factory.addStep(step.SVN, name ="{svn update}",baseURL='svn://scm.gforge.inria.fr/svn/simgrid/simgrid/', defaultBranch='trunk', mode="update")
-ucontext_factory.addStep(step.ShellCommand,name = "{svn revert}",description = "running svn revert",descriptionDone = "svn revert",haltOnFailure = 1,command=["svn" ,"revert","-R","build"])
-ucontext_factory.addStep(CustomConfigure,name ="{configure}",command=["./configure", " --with-context=ucontext","--enable-botbuild"]) # Main difference with pthread_factory
-ucontext_factory.addStep(step.ShellCommand,name = "{make clean}",command=["make", "clean"])
-ucontext_factory.addStep(step.ShellCommand,name = "{make}",command=["make","-j","4"])
-ucontext_factory.addStep(step.ShellCommand,name = "{check all}",command=["./checkall"])
-#ucontext_factory.addStep(step.ShellCommand,name = "{make distcheck}",command=["make", "distcheck"])
-