diff --git a/slices/gcc-11-base.yaml b/slices/gcc-11-base.yaml new file mode 100644 index 00000000..2a8e71bf --- /dev/null +++ b/slices/gcc-11-base.yaml @@ -0,0 +1,9 @@ +package: gcc-11-base + +essential: + - gcc-11-base_copyright + +slices: + copyright: + contents: + /usr/share/doc/gcc-11-base/copyright: diff --git a/slices/libasan6.yaml b/slices/libasan6.yaml new file mode 100644 index 00000000..07e88a9a --- /dev/null +++ b/slices/libasan6.yaml @@ -0,0 +1,17 @@ +package: libasan6 + +essential: + - libasan6_copyright + +slices: + libs: + essential: + - libc6_libs + - libgcc-s1_libs + contents: + /usr/lib/*-linux-*/libasan.so.6*: + copyright: + essential: + - gcc-11-base_copyright + contents: + /usr/share/doc/libasan6: diff --git a/slices/libasan8.yaml b/slices/libasan8.yaml new file mode 100644 index 00000000..5bdd0877 --- /dev/null +++ b/slices/libasan8.yaml @@ -0,0 +1,17 @@ +package: libasan8 + +essential: + - libasan8_copyright + +slices: + libs: + essential: + - libc6_libs + - libgcc-s1_libs + contents: + /usr/lib/*-linux-*/libasan.so.8*: + copyright: + essential: + - gcc-14-base_copyright + contents: + /usr/share/doc/libasan8: diff --git a/tests/spread/integration/libasan6/task.yaml b/tests/spread/integration/libasan6/task.yaml new file mode 100644 index 00000000..d3b6e56b --- /dev/null +++ b/tests/spread/integration/libasan6/task.yaml @@ -0,0 +1,9 @@ +summary: Integration tests for libasan6 + +execute: | + rootfs="$(install-slices libasan6_libs)" + + apt install --update -y gcc + arch=$(gcc -dumpmachine) + + test -f ${rootfs}/usr/lib/${arch}/libasan.so.6 diff --git a/tests/spread/integration/libasan8/task.yaml b/tests/spread/integration/libasan8/task.yaml new file mode 100644 index 00000000..0ebf7d75 --- /dev/null +++ b/tests/spread/integration/libasan8/task.yaml @@ -0,0 +1,9 @@ +summary: Integration tests for libasan8 + +execute: | + rootfs="$(install-slices libasan8_libs)" + + apt install --update -y gcc + arch=$(gcc -dumpmachine) + + test -f ${rootfs}/usr/lib/${arch}/libasan.so.8