Skip to content

Commit

Permalink
ingore asan memleaks for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Jul 20, 2023
1 parent 3db8d71 commit 8f156f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/custom_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
run: |
CC=clang cmake -B_build -H. -GNinja \
-DCMAKE_INSTALL_PREFIX:PATH="$PWD/_install" \
-DCMAKE_C_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize=address" \
-DCMAKE_CXX_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize=address" \
-DCMAKE_EXE_LINKER_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize=address" \
-DCMAKE_SHARED_LINKER_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize=address" \
-DCMAKE_C_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize-recover=address -fsanitize=address" \
-DCMAKE_CXX_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize-recover=address -fsanitize=address" \
-DCMAKE_EXE_LINKER_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize-recover=address -fsanitize=address" \
-DCMAKE_SHARED_LINKER_FLAGS="-g -O1 -Wno-everything -Wno-missing-variable-declarations -fno-omit-frame-pointer -fsanitize-recover=address -fsanitize=address" \
-DMIN_LOGGER_LEVEL=INFO \
-DMUST_BUILD_TOXAV=ON \
-DNON_HERMETIC_TESTS=OFF \
Expand All @@ -53,13 +53,14 @@ jobs:
- name: run custom tests
run: |
pwd
export ASAN_OPTIONS="$ASAN_OPTIONS,detect_leaks=0"
ls -1 ./custom_tests/*.c
export PKG_CONFIG_PATH="$PWD"/_install/lib/pkgconfig
export LD_LIBRARY_PATH="$PWD"/_install/lib
for i in $(ls -1 ./custom_tests/*.c) ; do
echo "CCC:--------------- ""$i"" ---------------"
rm -f test
clang -g -O1 -fno-omit-frame-pointer -fsanitize=address \
clang -g -O1 -fno-omit-frame-pointer -fsanitize-recover=address -fsanitize=address \
-Wno-everything -Wno-missing-variable-declarations \
$(pkg-config --cflags toxcore libavcodec libavutil x264 opus vpx libsodium) \
$(pkg-config --libs toxcore libavcodec libavutil x264 opus vpx libsodium) \
Expand Down

0 comments on commit 8f156f6

Please sign in to comment.