mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Add OSX specific INFINITE macro parsing in approval tests
This commit is contained in:
		| @@ -48,7 +48,9 @@ sinceEpochParser = re.compile(r'\d+ .+ since epoch') | ||||
| infParser = re.compile(r''' | ||||
|     \(\(float\)\(1e\+300\ \*\ 1e\+300\)\) # MSVC INFINITY macro | ||||
|     | | ||||
|     \(__builtin_inff\(\)\)         # Clang INFINITY macro | ||||
|     \(__builtin_inff\(\)\)                # Linux (ubuntu) INFINITY macro | ||||
|     | | ||||
|     __builtin_huge_valf\(\)               # OSX macro | ||||
| ''', re.VERBOSE) | ||||
|  | ||||
| if len(sys.argv) == 2: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský