[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18750 - gnunet-planetlab/config_generator
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18750 - gnunet-planetlab/config_generator |
Date: |
Wed, 21 Dec 2011 16:34:07 +0100 |
Author: pritpal
Date: 2011-12-21 16:34:07 +0100 (Wed, 21 Dec 2011)
New Revision: 18750
Modified:
gnunet-planetlab/config_generator/master_template.cfg
Log:
updated template
Modified: gnunet-planetlab/config_generator/master_template.cfg
===================================================================
--- gnunet-planetlab/config_generator/master_template.cfg 2011-12-21
15:17:27 UTC (rev 18749)
+++ gnunet-planetlab/config_generator/master_template.cfg 2011-12-21
15:34:07 UTC (rev 18750)
@@ -23,36 +23,11 @@
c['slaves'] = [
replace1
-# BuildSlave("gnuslave", "gnupasswd"),
-# BuildSlave("grothoff-jaunty-arm", "callmetheplug"),
-# BuildSlave("grothoff-lenny-powerpc",
"1f5d5c50a430f933c425988a18a107af"),
-# BuildSlave("wachs-lenny-sparc64", "netintumwachs"),
-# BuildSlave("wachs-freebsd7-amd64", "netintumwachs"),
-# BuildSlave("wachs-lenny-i386", "netintumwachs"),
-# BuildSlave("ubuntu-armv71-evans", "evansarmv71"),
-# BuildSlave("evans-freebsd7-x86", "evans7bsd"),
-# BuildSlave("evans-freebsd8-x86", "evans8bsd"),
-# BuildSlave("wachs-lenny-powerpc",
"cca63c12c457f45aab6a40a6972f216a"),
-# BuildSlave("ndurner-gtwy", "0e3465253fe833dcf809d5b81b88e614"),
-# BuildSlave("ndurner-xp", "43384b4710805db05979406dd8ce39b9"),
-# BuildSlave("amatus-freebsd32",
"d41d8cd98f00b204e9800998ecf8427e"),
-# BuildSlave("amatus-freebsd64",
"d41d8cd98f00b204e9800998ecf8427e"),
-# BuildSlave("daniel-sid-amd64", "SBJh3ag0ushAfXGjNo7"),
-# BuildSlave("daniel-sid-i386", "SBJh3ag0ushAfXGjNo7"),
-# BuildSlave("daniel-sid-powerpc", "SBJh3ag0ushAfXGjNo7"),
-# BuildSlave("daniel-lenny-amd64", "SBJh3ag0ushAfXGjNo7"),
-# BuildSlave("daniel-lenny-i386", "SBJh3ag0ushAfXGjNo7"),
-# BuildSlave("daniel-lenny-powerpc", "SBJh3ag0ushAfXGjNo7"),
-# BuildSlave("grothoff-intrepid-x86", "flaialya"),
-# BuildSlave("moep-osx", "40da61ff0f331b9a39c7432d57bed24f"),
-# BuildSlave("mortuusvir-freebsd-sparc64",
"8d9ca8815fa4ea0fd9d9b381b40b8eff"),
-# BuildSlave("safey-tiger-x86",
"a6892cfd0499ef1aec99aed606296bfa"),
-# BuildSlave("mortuusvir-tiger-powerpc",
"N2pyL4pS83L8vZx43uGPUSRJzgtiuWSGwbmfkgz9yiaZ"),
-# BuildSlave("wachs-openindiana-amd64",
"7eb43220b5a3947f594da7e6a510096f"),
-# BuildSlave("wachs-winxp64-amd64",
"6iyBbWNN3n5Y3lzuyW6Dm/zkPezlLaHjnayS3r30pGjI"),
-# BuildSlave("lenny-arm-nat","cca6g3c13345a23ab6a40a6972f216a"),
- ]
+
+
+]
+
# to limit to two concurrent builds on a slave, use
# c['slaves'] = [BuildSlave("bot1name", "bot1passwd", max_builds=2)]
@@ -105,40 +80,9 @@
replace2
-# "debian-amd64-grothoff",
-# "jaunty-arm-grothoff",
-# "lenny-powerpc-grothoff",
-# "fedora15-x86-grothoff",
-# "lenny-sparc64-wachs",
-# "wachs-lenny-powerpc",
-# "wachs-lenny-i386",
-# "freebsd7-amd64-wachs",
-# "ubuntu-armv71-evans",
-# "moep-osx"]))
-# "openindiana-amd64-wachs",
-# "freebsd7-x86-evans",
-# "freebsd8-x86-evans",
-# "squeeze-pentium3-ndurner",
-# "windowsxp-x86-ndurner",
-# "freebsd8-sparc64-mortuusvir",
-# "tiger-powerpc-mortuusvir",
-# "tiger-x86-safey",
-# "freebsd7-x86-amatus",
-# "freebsd7-amd64-amatus",
-# "sid-x86-daniel",
-# "sid-amd64-daniel",
-# "sid-powerpc-daniel",
-# "lenny-x86-daniel",
-# "lenny-amd64-daniel",
-# "lenny-powerpc-daniel",
-# "lenny-arm-nat",
-# "gnunet-wachs-winxp64-amd64"]))
-#c['schedulers'].append(Scheduler(name="extractor", branch=None,
-# treeStableTimer=30*60,
-# categories=["Extractor"],
-# builderNames=[
-# "extractor-wachs-winxp64-amd64"
+
+
]))
@@ -312,957 +256,10 @@
# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines = factory.BuildFactory()
-f1_slow_machines .addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
-f1_slow_machines .addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
- description="clean up from previous runs",
- name="killall",
- haltOnFailure=False,
- timeout=30)
-f1_slow_machines .addStep(shell.ShellCommand, command=["sh", "-c",
"./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-f1_slow_machines .addStep(shell.Configure, command=["sh", "-c", "./configure
--prefix=" + tmp],
- description="configure",
- name="configure",
- haltOnFailure=True)
-f1_slow_machines .addStep(shell.Compile,command=["sh", "-c", "make install"])
-f1_slow_machines .addStep(shell.ShellCommand,description=["tests util"],
- name="tests util",
- usePTY=True,
- command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand,description=["tests block"],
- name="tests block",
- usePTY=True,
- command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests statistics"],
- name="tests statistics",
- usePTY=True,
- command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests arm"],
- name="tests arm",
- usePTY=True,
- command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests hello"],
- name="tests hello",
- usePTY=True,
- command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests peerinfo"],
- name="tests peerinfo",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests datacache"],
- name="tests datacache",
- usePTY=True,
- command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests datastore"],
- name="tests datastore",
- usePTY=True,
- command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests template"],
- name="tests template",
- usePTY=True,
- command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 3600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests
fragmentation"],
- name="tests fragmentation",
- usePTY=True,
- command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests transport"],
- name="tests transport",
- usePTY=True,
- command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
- timeout=7200)
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests
peerinfo-tool"],
- name="tests peerinfo-tool",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests core"],
- name="tests core",
- usePTY=True,
- command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests testing"],
- name="tests testing",
- usePTY=True,
- command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines.addStep(shell.ShellCommand,description=["tests nse"],
- name="tests nse",
- usePTY=True,
- command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests dht"],
- name="tests dht",
- usePTY=True,
- command=["sh", "-c", "cd src/dht; make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests hostlist"],
- name="tests hostlist",
- usePTY=True,
- command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests topology"],
- name="tests topology",
- usePTY=True,
- command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests nat"],
- name="tests nat",
- usePTY=True,
- command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests fs"],
- name="tests fs",
- usePTY=True,
- command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests mesh"],
- name="tests mesh",
- usePTY=True,
- command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f1_slow_machines .addStep(shell.ShellCommand, description=["tests vpn"],
- name="tests vpn",
- usePTY=True,
- command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-#f1_slow_machines .addStep(shell.ShellCommand, description=["tests monkey"],
-# name="tests monkey",
-# usePTY=True,
-# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
-# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-
-f2 = factory.BuildFactory()
-f2.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
-f2.addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
- description="clean up from previous runs",
- name="killall",
- haltOnFailure=False,
- timeout=180)
-f2.addStep(shell.ShellCommand, command=["sh", "-c", "./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-f2.addStep(shell.Configure, command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp + "
--with-extractor=/usr/local --with-mysql=/usr/local
--with-microhttpd=/usr/local --with-mysql=/usr/local --with-postgres=/usr/local
--with-libintl-prefix=/usr/local --with-iconv-prefix=/usr/local
--with-ltdl-include=/usr/local/include --with-ltdl-lib=/usr/local/lib"],
- description="configure",
- name="configure",
- haltOnFailure=True)
-f2.addStep(shell.Compile, command=["sh", "-c", "gmake install"])
-f2.addStep(shell.ShellCommand,description=["tests util"],
- name="tests util",
- usePTY=True,
- command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand, description=["tests block"],
- name="tests block",
- usePTY=True,
- command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand, description=["tests statistics"],
- name="tests statistics",
- usePTY=True,
- command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests arm"],
- name="tests arm",
- usePTY=True,
- command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests hello"],
- name="tests hello",
- usePTY=True,
- command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests peerinfo"],
- name="tests peerinfo",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests datacache"],
- name="tests datacache",
- usePTY=True,
- command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests datastore"],
- name="tests datastore",
- usePTY=True,
- command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests template"],
- name="tests template",
- usePTY=True,
- command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 3600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand, description=["tests fragmentation"],
- name="tests fragmentation",
- usePTY=True,
- command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests transport"],
- name="tests transport",
- usePTY=True,
- command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
- timeout=7200)
-f2.addStep(shell.ShellCommand,description=["tests peerinfo-tool"],
- name="tests peerinfo-tool",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests core"],
- name="tests core",
- usePTY=True,
- command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests testing"],
- name="tests testing",
- usePTY=True,
- command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests nse"],
- name="tests nse",
- usePTY=True,
- command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests dht"],
- name="tests dht",
- usePTY=True,
- command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests hostlist"],
- name="tests hostlist",
- usePTY=True,
- command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests topology"],
- name="tests topology",
- usePTY=True,
- command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests nat"],
- name="tests nat",
- usePTY=True,
- command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand,description=["tests fs"],
- name="tests fs",
- usePTY=True,
- command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand, description=["tests mesh"],
- name="tests mesh",
- usePTY=True,
- command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f2.addStep(shell.ShellCommand, description=["tests vpn"],
- name="tests vpn",
- usePTY=True,
- command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
gmake check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-#f2.addStep(shell.ShellCommand, description=["tests monkey"],
-# name="tests monkey",
-# usePTY=True,
-# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
-# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-
-# %PATH% and %GNUNET_PREFIX% have to be set before buildbot startup
-f3 = factory.BuildFactory()
-f3.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
-f3.addStep(shell.ShellCommand,command=["sh", "-c", "killall_gnunet || true;
svn -R revert *"],
- description="cleanup old processes",
- name="cleanup",
- haltOnFailure=False)
-f3.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-f3.addStep(shell.Configure,command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=$GNUNET_PREFIX
--with-microhttpd=/usr/local --with-extractor= --with-qt=/c/Qt/4.4.0"],
- description="configure",
- name="configure",
- haltOnFailure=True)
-f3.addStep(shell.Compile,command=["sh", "-c", "make install"])
-f3.addStep(shell.ShellCommand, description=["tests util"],
- name="tests util",
- usePTY=True,
- command=["sh", "-c", "cd src/util; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests block"],
- name="tests block",
- usePTY=True,
- command=["sh", "-c", "cd src/block; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests statistics"],
- name="tests statistics",
- usePTY=True,
- command=["sh", "-c", "cd src/statistics; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests arm"],
- name="tests arm",
- usePTY=True,
- command=["sh", "-c", "cd src/arm; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests hello"],
- name="tests hello",
- usePTY=True,
- command=["sh", "-c", "cd src/hello; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests peerinfo"],
- name="tests peerinfo",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests datacache"],
- name="tests datacache",
- usePTY=True,
- command=["sh", "-c", "cd src/datacache; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests datastore"],
- name="tests datastore",
- usePTY=True,
- command=["sh", "-c", "cd src/datastore; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests template"],
- name="tests template",
- usePTY=True,
- command=["sh", "-c", "cd src/template; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests fragmentation"],
- name="tests fragmentation",
- usePTY=True,
- command=["sh", "-c", "cd src/fragmentation; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests transport"],
- name="tests transport",
- usePTY=True,
- command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
make check; "],
- timeout=7200)
-f3.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
- name="tests peerinfo-tool",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo-tool; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests core"],
- name="tests core",
- usePTY=True,
- command=["sh", "-c", "cd src/core; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests testing"],
- name="tests testing",
- usePTY=True,
- command=["sh", "-c", "cd src/testing; make check; "])
-f3.addStep(shell.ShellCommand,description=["tests nse"],
- name="tests nse",
- usePTY=True,
- command=["sh", "-c", "cd src/nse; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests dht"],
- name="tests dht",
- usePTY=True,
- command=["sh", "-c", "cd src/dht; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests hostlist"],
- name="tests hostlist",
- usePTY=True,
- command=["sh", "-c", "cd src/hostlist; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests topology"],
- name="tests topology",
- usePTY=True,
- command=["sh", "-c", "cd src/topology; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests nat"],
- name="tests nat",
- usePTY=True,
- command=["sh", "-c", "cd src/nat; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests fs"],
- name="tests fs",
- usePTY=True,
- command=["sh", "-c", "cd src/fs; make check; "])
-f3.addStep(shell.ShellCommand, description=["tests mesh"],
- name="tests mesh",
- usePTY=True,
- command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f3.addStep(shell.ShellCommand, description=["tests vpn"],
- name="tests vpn",
- usePTY=True,
- command=["sh", "-c", "cd src/vpn; make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-#f3.addStep(shell.ShellCommand, description=["tests monkey"],
-# name="tests monkey",
-# usePTY=True,
-# command=["sh", "-c", "cd src/monkey; make check; "],
-# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-
-
-f4 = factory.BuildFactory()
-f4.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
-f4.addStep(shell.ShellCommand,command=["sh", "-c", "killall gnunet-service-arm
|| true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf /tmp/test*;"],
- description="clean up from previous runs",
- name="killall",
- haltOnFailure=False,
- timeout=30)
-f4.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-f4.addStep(shell.Configure,command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp + "
--with-extractor=/opt/local --with-mysql=/opt/local
--with-microhttpd=/opt/local --with-mysql=/opt/local --with-postgres=/opt/local
--with-libintl-prefix=/opt/local --with-iconv-prefix=/opt/local
--with-ltdl-include=/opt/local/include --with-ltdl-lib=/opt/local/lib"],
- description="configure",
- name="configure",
- haltOnFailure=True)
-f4.addStep(shell.Compile,command=["sh", "-c", "make install"])
-f4.addStep(shell.ShellCommand, description=["tests util"],
- name="tests util",
- usePTY=True,
- command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests block"],
- name="tests block",
- usePTY=True,
- command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests statistics"],
- name="tests statistics",
- usePTY=True,
- command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests arm"],
- name="tests arm",
- usePTY=True,
- command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests hello"],
- name="tests hello",
- usePTY=True,
- command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests peerinfo"],
- name="tests peerinfo",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests datacache"],
- name="tests datacache",
- usePTY=True,
- command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests datastore"],
- name="tests datastore",
- usePTY=True,
- command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests template"],
- name="tests template",
- usePTY=True,
- command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests fragmentation"],
- name="tests fragmentation",
- usePTY=True,
- command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests transport"],
- name="tests transport",
- usePTY=True,
- command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
- timeout=7200)
-f4.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
- name="tests peerinfo-tool",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests core"],
- name="tests core",
- usePTY=True,
- command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests testing"],
- name="tests testing",
- usePTY=True,
- command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand,description=["tests nse"],
- name="tests nse",
- usePTY=True,
- command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests dht"],
- name="tests dht",
- usePTY=True,
- command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests hostlist"],
- name="tests hostlist",
- usePTY=True,
- command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests topology"],
- name="tests topology",
- usePTY=True,
- command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests nat"],
- name="tests nat",
- usePTY=True,
- command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests fs"],
- name="tests fs",
- usePTY=True,
- command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests mesh"],
- name="tests mesh",
- usePTY=True,
- command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f4.addStep(shell.ShellCommand, description=["tests vpn"],
- name="tests vpn",
- usePTY=True,
- command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-#f4.addStep(shell.ShellCommand, description=["tests monkey"],
-# name="tests monkey",
-# usePTY=True,
-# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
-# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-
-f_moep = factory.BuildFactory()
-f_moep.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
-f_moep.addStep(shell.ShellCommand,command=["sh", "-c", "killall_gnunet ||
true; svn -R revert *"],
- description="cleanup old processes",
- name="cleanup",
- haltOnFailure=False)
-f_moep.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-f_moep.addStep(shell.Configure,command=["sh", "-c",
"CPPFLAGS=\"-I/opt/local/include\" LDFLAGS=\"-L/opt/local/lib\" ./configure
--enable-benchmarks --enable-expensive-tests --prefix=/tmp/gnunet_build
--with-extractor=/opt/local/lib --with-qt=/c/Qt/4.4.0"],
- description="configure",
- name="configure",
- haltOnFailure=True)
-f_moep.addStep(shell.Compile,command=["sh", "-c", "make install"])
-f_moep.addStep(shell.ShellCommand, description=["tests util"],
- name="tests util",
- usePTY=True,
- command=["sh", "-c", "cd src/util; make check; "],
- env={'LDFLAGS' : '-L/opt/local' , 'GNUNET_PREFIX': '/tmp/gnunet_build'
, 'PATH': "/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests block"],
- name="tests block",
- usePTY=True,
- command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests statistics"],
- name="tests statistics",
- usePTY=True,
- command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests arm"],
- name="tests arm",
- usePTY=True,
- command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests hello"],
- name="tests hello",
- usePTY=True,
- command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests peerinfo"],
- name="tests peerinfo",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests datacache"],
- name="tests datacache",
- usePTY=True,
- command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests datastore"],
- name="tests datastore",
- usePTY=True,
- command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests template"],
- name="tests template",
- usePTY=True,
- command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests fragmentation"],
- name="tests fragmentation",
- usePTY=True,
- command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests transport"],
- name="tests transport",
- usePTY=True,
- command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
- name="tests peerinfo-tool",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests core"],
- name="tests core",
- usePTY=True,
- command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests testing"],
- name="tests testing",
- usePTY=True,
- command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand,description=["tests nse"],
- name="tests nse",
- usePTY=True,
- command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests dht"],
- name="tests dht",
- usePTY=True,
- command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests hostlist"],
- name="tests hostlist",
- usePTY=True,
- command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests topology"],
- name="tests topology",
- usePTY=True,
- command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests nat"],
- name="tests nat",
- usePTY=True,
- command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests fs"],
- name="tests fs",
- usePTY=True,
- command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests mesh"],
- name="tests mesh",
- usePTY=True,
- command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-f_moep.addStep(shell.ShellCommand, description=["tests vpn"],
- name="tests vpn",
- usePTY=True,
- command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
-
-f_test = factory.BuildFactory()
-f_test.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
-f_test.addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
- description="clean up from previous runs",
- name="killall",
- haltOnFailure=False,
- timeout=180)
-f_test.addStep(shell.ShellCommand, command=["sh", "-c", "./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-f_test.addStep(shell.Configure, command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp + "
--with-extractor=/usr/local --with-mysql=/usr/local
--with-microhttpd=/usr/local --with-mysql=/usr/local --with-postgres=/usr/local
--with-libintl-prefix=/usr/local --with-iconv-prefix=/usr/local
--with-ltdl-include=/usr/local/include --with-ltdl-lib=/usr/local/lib"],
- description="configure",
- name="configure",
- haltOnFailure=True)
-f_test.addStep(shell.Compile, command=["sh", "-c", "make install"])
-f_test.addStep(shell.ShellCommand,description=["tests util"],
- name="tests util",
- usePTY=True,
- command=["sh", "-c", "cd src/util;
../../../contrib/../../contrib/timeout_watchdog 900 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand, description=["tests block"],
- name="tests block",
- usePTY=True,
- command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand, description=["tests statistics"],
- name="tests statistics",
- usePTY=True,
- command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests arm"],
- name="tests arm",
- usePTY=True,
- command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests hello"],
- name="tests hello",
- usePTY=True,
- command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests peerinfo"],
- name="tests peerinfo",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests datacache"],
- name="tests datacache",
- usePTY=True,
- command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests datastore"],
- name="tests datastore",
- usePTY=True,
- command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests template"],
- name="tests template",
- usePTY=True,
- command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand, description=["tests fragmentation"],
- name="tests fragmentation",
- usePTY=True,
- command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests transport"],
- name="tests transport",
- usePTY=True,
- command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
- timeout=7200)
-f_test.addStep(shell.ShellCommand,description=["tests peerinfo-tool"],
- name="tests peerinfo-tool",
- usePTY=True,
- command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests core"],
- name="tests core",
- usePTY=True,
- command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests testing"],
- name="tests testing",
- usePTY=True,
- command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests nse"],
- name="tests nse",
- usePTY=True,
- command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests dht"],
- name="tests dht",
- usePTY=True,
- command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests hostlist"],
- name="tests hostlist",
- usePTY=True,
- command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests topology"],
- name="tests topology",
- usePTY=True,
- command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests nat"],
- name="tests nat",
- usePTY=True,
- command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand,description=["tests fs"],
- name="tests fs",
- usePTY=True,
- command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand, description=["tests mesh"],
- name="tests mesh",
- usePTY=True,
- command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-f_test.addStep(shell.ShellCommand, description=["tests vpn"],
- name="tests vpn",
- usePTY=True,
- command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
- env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-#f_test.addStep(shell.ShellCommand, description=["tests monkey"],
-# name="tests monkey",
-# usePTY=True,
-# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
-# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
-
-# %PATH% and %LE_PREFIX% have to be set before buildbot startup
-fLEXP = factory.BuildFactory()
-fLEXP.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/Extractor/"))
-fLEXP.addStep(shell.ShellCommand,command=["sh", "-c", "killall_gnunet"],
- description="cleanup old processes",
- name="cleanup",
- haltOnFailure=False)
-fLEXP.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
- description="bootstrap",
- name="bootstrap",
- haltOnFailure=True)
-fLEXP.addStep(shell.Configure,command=["sh", "-c", "./configure --disable-nls
--prefix=$LE_PREFIX --with-qt=/c/Qt/4.4.0"],
- description="configure",
- name="configure",
- haltOnFailure=True)
-fLEXP.addStep(shell.Compile,command=["sh", "-c", "make install"])
-fLEXP.addStep(shell.ShellCommand, description=["tests"],
- name="tests",
- usePTY=True,
- command=["sh", "-c", "make check; "])
-
replace3
-#b0 = {'name': "debian-amd64-grothoff",
-# 'slavename': "gnuslave",
-# 'builddir': "full",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b1 = {'name': "jaunty-arm-grothoff",
-# 'slavename': "grothoff-jaunty-arm",
-# 'builddir': "grothoff-jaunty-arm",
-# 'factory': f1_slow_machines ,
-# 'category': "GNUnet",
-# }
-#b2 = {'name': "squeeze-pentium3-ndurner",
-# 'slavename': "ndurner-gtwy",
-# 'builddir': "ndurner-gtwy",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b3 = {'name': "windowsxp-x86-ndurner",
-# 'slavename': "ndurner-xp",
-# 'builddir': "ndurner-xp",
-# 'factory': f3,
-# 'category': "GNUnet",
-# }
-#b6 = {'name': "sid-x86-daniel",
-# 'slavename': "daniel-sid-i386",
-# 'builddir': "daniel-sid-i386",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b7 = {'name': "sid-amd64-daniel",
-# 'slavename': "daniel-sid-amd64",
-# 'builddir': "daniel-sid-amd64",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b8 = {'name': "sid-powerpc-daniel",
-# 'slavename': "daniel-sid-powerpc",
-# 'builddir': "daniel-sid-powerpc",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b9 = {'name': "lenny-x86-daniel",
-# 'slavename': "daniel-lenny-i386",
-# 'builddir': "daniel-lenny-i386",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b10 = {'name': "lenny-amd64-daniel",
-# 'slavename': "daniel-lenny-amd64",
-# 'builddir': "daniel-lenny-amd64",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b11 = {'name': "lenny-powerpc-daniel",
-# 'slavename': "daniel-lenny-powerpc",
-# 'builddir': "daniel-lenny-powerpc",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b12 = {'name': "fedora15-x86-grothoff",
-# 'slavename': "grothoff-intrepid-x86",
-# 'builddir': "grothoff-intrepid-x86",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b13 = {'name': "freebsd8-sparc64-mortuusvir",
-# 'slavename': "mortuusvir-freebsd-sparc64",
-# 'builddir': "mortuusvir-freebsd-sparc64",
-# 'factory': f2,
-# 'category': "GNUnet",
-# }
-#b14 = {'name': "tiger-x86-safey",
-# 'slavename': "safey-tiger-x86",
-# 'builddir': "tiger-x86-safey",
-# 'factory': f4,
-# 'category': "GNUnet",
-# }
-#b15 = {'name': "tiger-powerpc-mortuusvir",
-# 'slavename': "mortuusvir-tiger-powerpc",
-# 'builddir': "tiger-powerpc-mortuusvir",
-# 'factory': f4,
-# 'category': "GNUnet",
-# }
-#b17 = {'name': "freebsd7-x86-evans",
-# 'slavename': "evans-freebsd7-x86",
-# 'builddir': "freebsd7-x86-evans",
-# 'factory': f2,
-# 'category': "GNUnet",
-# }
-#b18 = {'name': "freebsd8-x86-evans",
-# 'slavename' : "evans-freebsd8-x86",
-# 'builddir': "freebsd8-x86-evans",
-# 'factory': f2,
-# 'category': "GNUnet",
-# }
-#b19 = {'name': "lenny-sparc64-wachs",
-# 'slavename' : "wachs-lenny-sparc64",
-# 'builddir': "lenny-sparc64-wachs",
-# 'factory': f1_slow_machines ,
-# 'category': "GNUnet",
-# }
-#b20 = {'name': "freebsd7-amd64-wachs",
-# 'slavename' : "wachs-freebsd7-amd64",
-# 'builddir': "freebsd7-amd64-wachs",
-# 'factory': f2,
-# 'category': "GNUnet",
-# }
-#b21 = {'name': "ubuntu-armv71-evans",
-# 'slavename': "ubuntu-armv71-evans",
-# 'builddir': "ubuntu-armv71-evans",
-# 'factory': f1_slow_machines ,
-# 'category': "GNUnet",
-# }
-#b22 = {'name': "wachs-lenny-powerpc",
-# 'slavename': "wachs-lenny-powerpc",
-# 'builddir': "wachs-lenny-powerpc",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b23 = {'name': "wachs-lenny-i386",
-# 'slavename': "wachs-lenny-i386",
-# 'builddir': "bot",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#b24 = {'name': "moep-osx",
-# 'slavename': "moep-osx",
-# 'builddir': "moep-osx",
-# 'factory': f_moep,
-# 'category': "GNUnet",
-# }
-#b_nat = {'name': "lenny-arm-nat",
-# 'slavename': "lenny-arm-nat",
-# 'builddir': "lenny-arm-nat",
-# 'factory': f1,
-# 'category': "GNUnet",
-# }
-#bGN_XP = {'name': "gnunet-wachs-winxp64-amd64",
-# 'builddir': "gnunet-wachs-winxp64-amd64",
-# 'slavename' : "wachs-winxp64-amd64",
-# 'factory': f3,
-# 'category': "GNUnet",
-#}
-#bLE_XP = {'name': "extractor-wachs-winxp64-amd64",
-# 'slavename' : "wachs-winxp64-amd64",
-# 'builddir': "wachs-winxp64-amd64",
-# 'factory': fLEXP,
-# 'category': "Extractor",
-#}
-
-
-#c['builders'] = [b0, b1, b12, b19, b20, b21, b22, b23, b14, b_nat, bGN_XP,
bLE_XP ]
c['builders'] = [
-#b0, b12, b19, b20, b21, b22, b23, b24
replace4
@@ -1285,9 +282,9 @@
# extraRecipients=["address@hidden"],
# sendToInterestedUsers=False))
#
-from buildbot.status import words
-c['status'].append(words.IRC(host="irc.freenode.net", nick="gnunet-bb",
- channels=["#gnunet"]))
+#from buildbot.status import words
+#c['status'].append(words.IRC(host="irc.freenode.net", nick="gnunet-bb",
+# channels=["#gnunet"]))
#
# from buildbot.status import client
# c['status'].append(client.PBListener(9988))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18750 - gnunet-planetlab/config_generator,
gnunet <=