mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	tests: Infrastructure for unit tests
This commit is contained in:
		
							parent
							
								
									6f6af6928f
								
							
						
					
					
						commit
						a03f9b6fb6
					
				
					 6 changed files with 32 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								src/tests/CMakeLists.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								src/tests/CMakeLists.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| set(SRCS | ||||
|             tests.cpp | ||||
|             ) | ||||
| 
 | ||||
| set(HEADERS | ||||
|             ) | ||||
| 
 | ||||
| create_directory_groups(${SRCS} ${HEADERS}) | ||||
| 
 | ||||
| include_directories(../../externals/catch/single_include/) | ||||
| 
 | ||||
| add_executable(tests ${SRCS} ${HEADERS}) | ||||
| target_link_libraries(tests core video_core audio_core common) | ||||
| target_link_libraries(tests ${PLATFORM_LIBRARIES}) | ||||
							
								
								
									
										9
									
								
								src/tests/tests.cpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/tests/tests.cpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| // Copyright 2016 Citra Emulator Project
 | ||||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #define CATCH_CONFIG_MAIN | ||||
| #include <catch.hpp> | ||||
| 
 | ||||
| // Catch provides the main function since we've given it the
 | ||||
| // CATCH_CONFIG_MAIN preprocessor directive.
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue