Skip to content
Snippets Groups Projects
Commit 84ec4222 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wip/smcv/autopkgtest' into 'master'

Add Gitlab-CI

See merge request steam/steam-runtime-tools!10
parents 5b7691b1 9202e729
No related branches found
No related tags found
2 merge requests!11test-utils: Add some missing test assertions etc.,!10Add Gitlab-CI
Pipeline #1233 passed
include:
- project: 'steam/steam-ci-pipeline'
file: '/steam-gitlab-ci-common.yml'
- project: 'steam/steam-ci-pipeline'
file: '/steam-gitlab-ci-pipeline.yml'
variables:
BUILD_IMAGE: docker.internal.steamos.cloud/steamrt/sdk:scout-latest
STEAM_CI_USE_BINARIES_FROM: autopkgtest
STEAM_CI_DEPENDENCIES: >-
debhelper
gtk-doc-tools
libegl1-mesa-dev
libgl1-mesa-dev
libgles2-mesa-dev
libglib2.0-dev
libx11-dev
libxcomposite-dev
meson
build:
variables:
BUILD_IMAGE: docker.internal.steamos.cloud/steamos/package-builder:buster
......@@ -9,7 +9,7 @@ Depends:
libsteam-runtime-tools-0-tests,
Tests: gnome-desktop-testing
Restrictions: allow-stderr
Restrictions: allow-stderr, skip-not-installable
Depends:
gnome-desktop-testing,
libsteam-runtime-tools-0-tests,
......@@ -8,4 +8,6 @@
set -eu
export G_MESSAGES_DEBUG=all
exec gnome-desktop-testing-runner steam-runtime-tools-0
......@@ -32,6 +32,8 @@
set -eu
export G_MESSAGES_DEBUG=all
fail=
for t in /usr/share/installed-tests/steam-runtime-tools-0/*.test; do
......
......@@ -30,6 +30,8 @@
* for use with older GLib versions.
*/
#include <glib.h>
#ifndef g_assert_true
#define g_assert_true(x) g_assert ((x))
#endif
......@@ -42,6 +44,23 @@
#define g_assert_cmpint(a, op, b) g_assert ((a) op (b))
#endif
#ifndef g_assert_cmpmem
#define g_assert_cmpmem(m1, l1, m2, l2) \
g_assert (l1 == l2 && memcmp (m1, m2, l1) == 0)
#endif
#ifndef g_assert_cmpstr
#define g_assert_cmpstr(a, op, b) g_assert (g_strcmp0 ((a), (b)) op 0)
#endif
#ifndef g_assert_nonnull
#define g_assert_nonnull(x) g_assert ((x) != NULL)
#endif
#ifndef g_assert_null
#define g_assert_null(x) g_assert ((x) == NULL)
#endif
#if !GLIB_CHECK_VERSION(2, 38, 0)
#define g_test_skip(msg) g_test_message ("SKIP: %s", msg)
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment