commit f3888d727a939a4b767e533ea5ed70cf26080046
parent c227434850d980c7beb69493d4e043ca9a72ca68
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 28 Jun 2022 16:18:29 +0200
-fix path when running tests
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -136,7 +136,8 @@ def jailed_check(package,srcdirs):
name="Tests of " + package,
description="Testing " + package,
descriptionDone="Pass",
- commands=map(lambda srcdir: util.ShellArg(command=["sudo", "/usr/local/bin/netjail.sh", "/home/integrationtest/deployment/buildbot/with-postgres.sh", "bash", "-c", "'cd src/"+srcdir+" make check'"]), srcdirs),
+ commands=map(lambda srcdir: util.ShellArg(command=["sudo", "/usr/local/bin/netjail.sh", "/home/integrationtest/deployment/buildbot/with-postgres.sh", "bash", "-c", "'cd src/"+srcdir+" make install check'"]), srcdirs),
+ env={'PATH': "${HOME}/local/bin:${PATH}"},
workdir="../../sources/" + package
)
@@ -468,7 +469,7 @@ INTEGRATIONTEST_FACTORY.addStep(
commands=[
util.ShellArg(command=["./bootstrap"]),
util.ShellArg(command=["./configure", "--prefix=$HOME/local/"]),
- util.ShellArg(command=["make"]),
+ util.ShellArg(command=["make install"]),
],
workdir="../../sources/wallet-core",
haltOnFailure=True,