btrfs-progs: ci: disable library tests for D=asan build

Due to unknown cause the libbtrfsutil and libbtrfs are not built with
sanitizer libraries and the ASAN test does not succeed. This needs to be
analyzed why, for now disable it so CI can continue.

$ make D=asan test-libbtrfsutil
    [PY]     libbtrfsutil
==235341==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2024-06-05 23:29:18 +02:00
parent ff1ff014f0
commit e5b6c383c2
1 changed files with 5 additions and 4 deletions

View File

@ -78,10 +78,11 @@ jobs:
run: sudo make D=asan TEST_LOG=dump test-convert run: sudo make D=asan TEST_LOG=dump test-convert
- name: Test internal APIs - name: Test internal APIs
run: make D=asan test-api run: make D=asan test-api
- name: Libbtrfsutil test # Temporary: the library or python bindings are not linked with ASAN and test cannot be run
run: make D=asan test-libbtrfsutil # - name: Libbtrfsutil test
- name: Libbtrfs build test # run: make D=asan test-libbtrfsutil
run: make D=asan library-test # - name: Libbtrfs build test
# run: make D=asan library-test
- name: Tests hash (correctness) - name: Tests hash (correctness)
run: make D=asan hash-vectest && ./hash-vectest run: make D=asan hash-vectest && ./hash-vectest
- name: Save logs on failure - name: Save logs on failure