Skip to content

Commit 8c8b680

Browse files
committed
config: docker: cros-tast: add gcov scripts to container
Those are needed for running gathering coverage data for Tast tests. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
1 parent f82aa04 commit 8c8b680

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

config/docker/cros-tast.jinja2

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2222

2323
{{ super() }}
2424

25+
ADD https://raw.githubusercontent.com/kernelci/kernelci-core/\
26+
staging.kernelci.org/\
27+
config/docker/data/gcov_pack.sh \
28+
/home/cros/gcov_pack.sh
29+
30+
ADD https://raw.githubusercontent.com/kernelci/kernelci-core/\
31+
staging.kernelci.org/\
32+
config/docker/data/gcov_reset.sh \
33+
/home/cros/gcov_reset.sh
34+
2535
ADD https://raw.githubusercontent.com/kernelci/kernelci-core/\
2636
kernelci.org/\
2737
config/docker/data/tast_parser.py \
@@ -38,7 +48,8 @@ rootfs/debos/overlays/fluster/usr/bin/fluster_parser.py \
3848

3949
# Needed by LAVA to install the overlay
4050
USER root
41-
RUN chmod +x /home/cros/tast_parser.py /home/cros/ssh_retry.sh
51+
RUN chmod +x /home/cros/tast_parser.py /home/cros/ssh_retry.sh \
52+
/home/cros/gcov_pack.sh /home/cros/gcov_reset.sh
4253

4354
# Create symlink to /usr/local/bin for tast gs:// downloads
4455
RUN ln -s /home/cros/trunk/chromite/bin/gsutil /usr/local/bin/

0 commit comments

Comments
 (0)