ci/papr: Add a suite to run introspection-based tests without ASAN
Unfortunately we can't do gobject-introspection based tests while compiling with `-fsanitize=address`, since it needs to hook `malloc` early on. Add a new suite which just runs the introspection-based tests without ASAN. Closes: #1016 Approved by: jlebon
This commit is contained in:
parent
f9f7d55e79
commit
cf6c15a6c5
16
.papr.yml
16
.papr.yml
|
|
@ -91,6 +91,22 @@ tests:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
inherit: true
|
||||||
|
required: true
|
||||||
|
|
||||||
|
context: f26-introspection-tests
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONFIGOPTS: "--with-curl --with-openssl"
|
||||||
|
# ASAN conflicts with introspection testing;
|
||||||
|
# See https://github.com/ostreedev/ostree/issues/1014
|
||||||
|
INSTALLED_TESTS_PATTERN: "libostree/test-sizes.js libostree/test-sysroot.js libostree/test-core.js libostree/test-corrupt-repo-ref.js"
|
||||||
|
|
||||||
|
tests:
|
||||||
|
- ci/build-check.sh
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
inherit: false
|
inherit: false
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ make syntax-check # TODO: do syntax-check under check
|
||||||
# And now run the installed tests
|
# And now run the installed tests
|
||||||
make install
|
make install
|
||||||
if test -x /usr/bin/gnome-desktop-testing-runner; then
|
if test -x /usr/bin/gnome-desktop-testing-runner; then
|
||||||
gnome-desktop-testing-runner -p 0 libostree/
|
gnome-desktop-testing-runner -p 0 ${INSTALLED_TESTS_PATTERN:-libostree/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -x /usr/bin/clang; then
|
if test -x /usr/bin/clang; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue