mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	meson: fix meson test without building pipewire before
This adds project internal dependencies to some tests to let all tests succeed. It is not adding all dependencies those tests actually need.
This commit is contained in:
		
							parent
							
								
									4841156b74
								
							
						
					
					
						commit
						761fa6f59d
					
				
					 2 changed files with 11 additions and 3 deletions
				
			
		|  | @ -112,7 +112,7 @@ pipewire_module_portal = shared_library('pipewire-module-portal', [ 'module-port | |||
| ) | ||||
| endif | ||||
| 
 | ||||
| pipewire_module_client_node = shared_library('pipewire-module-client-device', | ||||
| pipewire_module_client_device = shared_library('pipewire-module-client-device', | ||||
|   [ 'module-client-device.c', | ||||
|     'module-client-device/resource-device.c', | ||||
|     'module-client-device/proxy-device.c', | ||||
|  |  | |||
|  | @ -72,14 +72,22 @@ test('test context', | |||
|                'test-context.c', | ||||
|                'test-config.c', | ||||
|                include_directories: pwtest_inc, | ||||
|                link_with: pwtest_lib) | ||||
|                link_with: [pwtest_lib, | ||||
|                             spa_support_lib, | ||||
|                             spa_dbus_lib, | ||||
|                             pipewire_module_protocol_native, | ||||
|                             pipewire_module_client_node, | ||||
|                             pipewire_module_client_device, | ||||
|                             pipewire_module_adapter, | ||||
|                             pipewire_module_metadata, | ||||
|                             pipewire_module_session_manager]) | ||||
| ) | ||||
| test('test support', | ||||
|     executable('test-support', | ||||
|                'test-support.c', | ||||
|                'test-logger.c', | ||||
|                include_directories: pwtest_inc, | ||||
|                link_with: pwtest_lib) | ||||
|                link_with: [pwtest_lib, spa_support_lib]) | ||||
| ) | ||||
| test('test spa', | ||||
|     executable('test-spa', | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Nils Tonnätt
						Nils Tonnätt