- make check actually works under asan

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=118
This commit is contained in:
Petr Gajdos 2019-04-17 06:29:38 +00:00 committed by Git OBS Bridge
parent 94fadb06fa
commit 7550ad9f8d
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 17 06:29:11 UTC 2019 - pgajdos@suse.com
- make check actually works under asan
-------------------------------------------------------------------
Mon Apr 15 15:02:33 UTC 2019 - pgajdos@suse.com

View File

@ -114,10 +114,6 @@ sed -i -e 's/^\(CFLAGS.*\)$/\1 -fsanitize=address/' \
make %{?_smp_mflags}
%check
%if %{asan_build}
# ASAN needs /proc to be mounted
exit 0
%endif
make -j1 check
%install