mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 21:14:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			327 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			327 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| 
 | |
| import sys
 | |
| 
 | |
| expected_executable = sys.argv[1]
 | |
| active_executable = sys.executable
 | |
| if expected_executable != active_executable:
 | |
|     print('Failure. Expected executable does not match current executable.')
 | |
|     print('Expected:', expected_executable)
 | |
|     print('Active: ', active_executable)
 | |
|     sys.exit(1)
 | 
