From e84dabd7275dcd43ed67de224a6e4461c2ca74c9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 19 Dec 2019 19:34:42 +0100 Subject: [PATCH] TT#72351 Stop running ngcpcfg within the testrunner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the package is now installed by default, and we expect «ngcpcfg build» to be executed after any installation upgrade anyway, we can stop running this, more so now that we do not require any local customization support. Change-Id: Ic0984052f86e5aaddf384f36374fb259c946cb56 --- testrunner | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testrunner b/testrunner index ebbf2a5..0a49331 100755 --- a/testrunner +++ b/testrunner @@ -19,8 +19,10 @@ fi rm -f /usr/sbin/goss ln -s "/usr/sbin/${goss}" /usr/sbin/goss -diag "Rebuilding test configs in /etc/ngcp-system-tests/" -ngcpcfg build /etc/ngcp-system-tests/* 2>&1 +if ! [ -d /etc/ngcp-system-tests/ ]; then + diag "Missing system test suite files, please run 'ngcpcfg build'" + exit 1 +fi rm -rf "${REPORT_DIRECTORY}" mkdir -p "${REPORT_DIRECTORY}"