gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: extend CHECKER_FACTORY with fi


From: gnunet
Subject: [taler-deployment] branch master updated: extend CHECKER_FACTORY with first actual check rules
Date: Mon, 24 Feb 2020 16:31:53 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 335cea0  extend CHECKER_FACTORY with first actual check rules
335cea0 is described below

commit 335cea0546d8555c4c8b66090233e6a16a9e3af9
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Feb 24 16:31:51 2020 +0100

    extend CHECKER_FACTORY with first actual check rules
---
 buildbot/master.cfg | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 17ffbd8..a021f34 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -1,6 +1,6 @@
 ##
 # This file is part of TALER
-# (C) 2016-2019 Taler Systems SA
+# (C) 2016-2020 Taler Systems SA
 #
 # TALER is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Affero General Public
@@ -304,6 +304,18 @@ def git_step(repo,target_branch="master"):
         branch=target_branch
     )
 
+
+# Convenience function that runs 'make check' in a
+# directory of the code inside of a netjail.
+def jailed_check(package,srcdir):
+    return ShellCommand(
+        name="Test of" . srcdir . " in " . package,
+        description="Testing " . srcdir . " in " . package,
+        descriptionDone="Pass",
+        command=["sudo", "/usr/local/bin/netjail.sh", "make", "check"],
+        workdir="../../sources/" + package + "/src/" + srcdir
+    )
+
 # Convenience function that checks out the deployment.
 def update_deployment(factory):
     factory.addStep(ShellCommand(
@@ -512,6 +524,10 @@ CHECKER_FACTORY.addStep(
         workdir="../../deployment/buildbot",
     )
 )
+CHECKER_FACTORY.addStep(jailed_check ("libmicrohttpd", "microhttpd"))
+CHECKER_FACTORY.addStep(jailed_check ("libmicrohttpd", "testcurl"))
+CHECKER_FACTORY.addStep(jailed_check ("libmicrohttpd", "testzzuf"))
+
 # FIXME: CHECKER_FACTORY is incomplete at this time: we still need
 # to do the actual 'make check' steps (in a jail!)
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]