mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	examples/parttool: fix the test to work on parallel test runner
Pass the DUT port to parttool_example.py as an argument.
This commit is contained in:
		@@ -28,7 +28,7 @@ def test_examples_parttool(env, extra_data):
 | 
				
			|||||||
            binary_path = flash_file[1]
 | 
					            binary_path = flash_file[1]
 | 
				
			||||||
            break
 | 
					            break
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    subprocess.check_call([sys.executable, script_path, "--binary", binary_path])
 | 
					    subprocess.check_call([sys.executable, script_path, "--binary", binary_path, "--port", dut.port])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == '__main__':
 | 
					if __name__ == '__main__':
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user