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:
Colin Walters authored and Atomic Bot committed 2017-07-20 14:01:11 +00:00
1 parent f9f7d55e79
commit cf6c15a6c5
2 files changed
+17 -1

No files matched your search

+16
View File
@@ -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
branches:
- master
+1 -1
View File
@@ -11,7 +11,7 @@ make syntax-check # TODO: do syntax-check under check
# And now run the installed tests
make install
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
if test -x /usr/bin/clang; then