mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Merge pull request #7 from gilles-peskine-arm/all_sh-mbedcrypto
[mbedcrypto] all.sh: make it possible to run a subset of the components
This commit is contained in:
		
						commit
						8d4be19517
					
				@ -103,6 +103,12 @@ if(CMAKE_COMPILER_IS_CLANG)
 | 
				
			|||||||
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code")
 | 
					    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code")
 | 
				
			||||||
endif(CMAKE_COMPILER_IS_CLANG)
 | 
					endif(CMAKE_COMPILER_IS_CLANG)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if(UNSAFE_BUILD)
 | 
				
			||||||
 | 
					    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error")
 | 
				
			||||||
 | 
					    set(CMAKE_C_FLAGS_ASAN "${CMAKE_C_FLAGS_ASAN} -Wno-error")
 | 
				
			||||||
 | 
					    set(CMAKE_C_FLAGS_ASANDBG "${CMAKE_C_FLAGS_ASANDBG} -Wno-error")
 | 
				
			||||||
 | 
					endif(UNSAFE_BUILD)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if(WIN32)
 | 
					if(WIN32)
 | 
				
			||||||
    set(libs ${libs} ws2_32)
 | 
					    set(libs ${libs} ws2_32)
 | 
				
			||||||
endif(WIN32)
 | 
					endif(WIN32)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										1354
									
								
								tests/scripts/all.sh
									
									
									
									
									
								
							
							
						
						
									
										1354
									
								
								tests/scripts/all.sh
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -41,8 +41,6 @@
 | 
				
			|||||||
# number does not need to be updated often.
 | 
					# number does not need to be updated often.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set confirm off
 | 
					set confirm off
 | 
				
			||||||
# We don't need to turn off ASLR, so don't try.
 | 
					 | 
				
			||||||
set disable-randomization off
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
file ./programs/test/zeroize
 | 
					file ./programs/test/zeroize
 | 
				
			||||||
break zeroize.c:100
 | 
					break zeroize.c:100
 | 
				
			||||||
 | 
				
			|||||||
@ -167,7 +167,7 @@ requires_config_disabled() {
 | 
				
			|||||||
get_config_value_or_default() {
 | 
					get_config_value_or_default() {
 | 
				
			||||||
    NAME="$1"
 | 
					    NAME="$1"
 | 
				
			||||||
    DEF_VAL=$( grep ".*#define.*${NAME}" ../include/mbedtls/config.h |
 | 
					    DEF_VAL=$( grep ".*#define.*${NAME}" ../include/mbedtls/config.h |
 | 
				
			||||||
               sed 's/^.*\s\([0-9]*\)$/\1/' )
 | 
					               sed 's/^.* \([0-9]*\)$/\1/' )
 | 
				
			||||||
    ../scripts/config.pl get $NAME || echo "$DEF_VAL"
 | 
					    ../scripts/config.pl get $NAME || echo "$DEF_VAL"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user