From 21438934aab59205353949938246d0ad36adb1a4 Mon Sep 17 00:00:00 2001 From: Nicholas Sharp Date: Sat, 28 Dec 2024 15:24:05 -0500 Subject: [PATCH] don't check asan leaks in egl test --- .github/workflows/linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 1bd35f07..0771284f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -57,4 +57,7 @@ jobs: run: cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL_mock - name: run test egl backend - run: cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl + # We get memory leaks inside of EGL that I can't track down. With ASAN, this means the exit code is always nonzero, + # which is indistinguishable from tests failing. The ASAN_OPTIONS=detect_leaks=0 skips checking leaks for this test + # as a workaround. + run: cd test/build && ASAN_OPTIONS=detect_leaks=0 ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl