summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-07 13:39:56 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-08 14:50:03 -0800
commit501494c6c68a84114fdd0b44d4b67ef9cde776c9 (patch)
treefb5b1c7483d8f6859f52ed93c8ea931a1dde11ad /.gitlab-ci.yml
parent4841039e5385f264d12757903894f47c64f59361 (diff)
downloadxorg-lib-libXpm-501494c6c68a84114fdd0b44d4b67ef9cde776c9.tar.gz
test: Add unit tests using glib framework
Includes rudimentary tests for XpmReadFileToXpmImage, XpmReadFileToData, XpmReadFileToBuffer, XpmCreateXpmImageFromData, XpmCreateXpmImageFromBuffer, XpmWriteFileFromXpmImage, XpmWriteFileFromData, XpmWriteFileFromBuffer, XpmAttributesSize, XpmGetErrorString, XpmLibraryVersion Includes test cases for CVE-2004-0687 Tests .Z and .gz files if --enable-open-zfile is active Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46a0699..057c9f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,8 @@ variables:
# The tag should be updated each time the list of packages is updated.
# Changing a tag forces the associated image to be rebuilt.
# Note: the tag has no meaning, we use a date format purely for readability
- FDO_DISTRIBUTION_TAG: '2022-07-17.0'
- FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake libtool make xorg-util-macros xorgproto libx11 libxt libxext'
+ FDO_DISTRIBUTION_TAG: '2023-01-06.0'
+ FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake libtool make xorg-util-macros xorgproto libx11 libxt libxext ncompress gzip glib2'
#
@@ -91,8 +91,12 @@ build:
- autoreconf -ivf
- mkdir _builddir
- pushd _builddir > /dev/null
- - ../configure --disable-silent-rules
+ - ../configure --disable-silent-rules --enable-unit-tests
- make
- make check
- make distcheck
- popd > /dev/null
+ artifacts:
+ when: on_failure
+ paths:
+ - _builddir/test/*.log