aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/functions.sh
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-14 16:17:22 +0200
committerMauro Sardara <msardara@cisco.com>2022-09-14 16:26:27 +0200
commit34e32b751d8060f93646d3fa542ddea73de901c4 (patch)
tree7ebb988de951fcddc7312c3a5b337c874350219b /scripts/functions.sh
parent6c9f120f028bcca93fd087afa648f653b208eb35 (diff)
ci: correctly generate tests reports
Do not use make test to run the tests after the build, as it overwrites the report file for each single unit tests. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Icdc55b31c1e36b213f977b76f8518ac16c393afc
Diffstat (limited to 'scripts/functions.sh')
-rw-r--r--scripts/functions.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/functions.sh b/scripts/functions.sh
index d6d8bf84e..544c283fc 100644
--- a/scripts/functions.sh
+++ b/scripts/functions.sh
@@ -31,6 +31,14 @@ fi
COLLECTD_SOURCE="https://github.com/collectd/collectd/releases/download/collectd-5.12.0/collectd-5.12.0.tar.bz2"
+declare -a TEST_COMPONENTS=(
+ "libtransport"
+ "lib"
+ "hicn_light"
+ "hicnplugin"
+ "libhicnctrl"
+)
+
function install_collectd_headers() {
curl -OL ${COLLECTD_SOURCE}
tar -xf collectd-5.12.0.tar.bz2