mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			503 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			503 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| Supported Targets | Linux |
 | 
						|
| ----------------- | ----- |
 | 
						|
 | 
						|
# Description
 | 
						|
 | 
						|
This directory contains test code for `tcp_transport` that runs on host.
 | 
						|
 | 
						|
Tests are written using [Catch2](https://github.com/catchorg/Catch2) test framework 
 | 
						|
 | 
						|
# Build
 | 
						|
 | 
						|
Tests build regularly like an idf project. 
 | 
						|
 | 
						|
```
 | 
						|
idf.py build
 | 
						|
```
 | 
						|
 | 
						|
# Run
 | 
						|
 | 
						|
The build produces an executable in the build folder. 
 | 
						|
 | 
						|
Just run:
 | 
						|
 | 
						|
```
 | 
						|
./build/host_tcp_transport_test.elf
 | 
						|
```
 | 
						|
 | 
						|
The test executable have some options provided by the test framework. 
 | 
						|
 |