ci(amd64/gcc/valgrind): fix valgrind errors #58
					 2 changed files with 39 additions and 2 deletions
				
			
		| 
						 | 
					@ -17,9 +17,9 @@ cmake . \
 | 
				
			||||||
-GNinja \
 | 
					-GNinja \
 | 
				
			||||||
-DCMAKE_LINKER_TYPE=MOLD \
 | 
					-DCMAKE_LINKER_TYPE=MOLD \
 | 
				
			||||||
-DENABLE_UNIT_TESTS=ON \
 | 
					-DENABLE_UNIT_TESTS=ON \
 | 
				
			||||||
-DCMAKE_BUILD_TYPE=Release \
 | 
					-DCMAKE_BUILD_TYPE=Debug \
 | 
				
			||||||
-DCMAKE_CXX_FLAGS="-std=c++23 -fno-omit-frame-pointer -fno-common -g" \
 | 
					-DCMAKE_CXX_FLAGS="-std=c++23 -fno-omit-frame-pointer -fno-common -g" \
 | 
				
			||||||
&& cmake --build ./build -j `nproc`
 | 
					&& cmake --build ./build --target='renderer_tests' -j `nproc`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
					for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
				
			||||||
    echo "Running $test"
 | 
					    echo "Running $test"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,40 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					   <insert_a_suppression_name_here>
 | 
				
			||||||
 | 
					   Memcheck:Leak
 | 
				
			||||||
 | 
					   match-leak-kinds: reachable
 | 
				
			||||||
 | 
					   fun:malloc
 | 
				
			||||||
 | 
					   fun:_dbus_strdup
 | 
				
			||||||
 | 
					   fun:UnknownInlinedFun
 | 
				
			||||||
 | 
					   fun:UnknownInlinedFun
 | 
				
			||||||
 | 
					   fun:internal_bus_get
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   obj:*
 | 
				
			||||||
 | 
					   fun:UnknownInlinedFun
 | 
				
			||||||
 | 
					   fun:UnknownInlinedFun
 | 
				
			||||||
 | 
					   fun:loader_icd_scan
 | 
				
			||||||
 | 
					   fun:UnknownInlinedFun
 | 
				
			||||||
 | 
					   fun:UnknownInlinedFun
 | 
				
			||||||
 | 
					   fun:terminator_EnumerateInstanceExtensionProperties
 | 
				
			||||||
 | 
					   fun:vkEnumerateInstanceExtensionProperties
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					   <insert_a_suppression_name_here>
 | 
				
			||||||
 | 
					   Memcheck:Cond
 | 
				
			||||||
 | 
					   obj:/usr/lib/libnvidia-glvkspirv.so.580.95.05
 | 
				
			||||||
 | 
					   obj:/usr/lib/libnvidia-glvkspirv.so.580.95.05
 | 
				
			||||||
 | 
					   obj:/usr/lib/libnvidia-glvkspirv.so.580.95.05
 | 
				
			||||||
 | 
					   fun:_nv002nvvm
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
   <insert_a_suppression_name_here>
 | 
					   <insert_a_suppression_name_here>
 | 
				
			||||||
   Memcheck:Leak
 | 
					   Memcheck:Leak
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue