ci(amd64/clang/lsan): fix leak sanitizer errors #57
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -41,8 +41,8 @@ add_test_module(renderer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # general backend tests through the frontend
 | 
					    # general backend tests through the frontend
 | 
				
			||||||
    # frontend/messenger.test.cpp
 | 
					    # frontend/messenger.test.cpp
 | 
				
			||||||
    frontend/context/surface.test.cpp
 | 
					    # frontend/context/surface.test.cpp
 | 
				
			||||||
    # frontend/context/device.test.cpp
 | 
					    frontend/context/device.test.cpp
 | 
				
			||||||
    # frontend/context/swapchain.test.cpp
 | 
					    # frontend/context/swapchain.test.cpp
 | 
				
			||||||
    # frontend/renderer/pass.test.cpp
 | 
					    # frontend/renderer/pass.test.cpp
 | 
				
			||||||
    # frontend/renderer/renderer.test.cpp
 | 
					    # frontend/renderer/renderer.test.cpp
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,7 +29,7 @@ cmake . \
 | 
				
			||||||
-lc++ \
 | 
					-lc++ \
 | 
				
			||||||
-lc++abi \
 | 
					-lc++abi \
 | 
				
			||||||
-Wl,-rpath,/libcxx_lsan/lib" \
 | 
					-Wl,-rpath,/libcxx_lsan/lib" \
 | 
				
			||||||
&& cmake --build ./build -j`nproc`
 | 
					&& cmake --build ./build --target='renderer_tests' -j`nproc`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export LSAN_OPTIONS="suppressions=$(git rev-parse --show-toplevel)/tools/ci/amd64/clang/lsan.supp:fast_unwind_on_malloc=0:verbosity=1:report_objects=1"
 | 
					export LSAN_OPTIONS="suppressions=$(git rev-parse --show-toplevel)/tools/ci/amd64/clang/lsan.supp:fast_unwind_on_malloc=0:verbosity=1:report_objects=1"
 | 
				
			||||||
export LSAN_SYMBOLIZER_PATH="$(which llvm-symbolizer)"
 | 
					export LSAN_SYMBOLIZER_PATH="$(which llvm-symbolizer)"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue