mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 13:09:38 +00:00 
			
		
		
		
	ci: add debug artifacts for test_idf_tools
This commit is contained in:
		| @@ -186,6 +186,11 @@ test_idf_py: | |||||||
|  |  | ||||||
| test_idf_tools: | test_idf_tools: | ||||||
|   extends: .host_test_template |   extends: .host_test_template | ||||||
|  |   artifacts: | ||||||
|  |     when: on_failure | ||||||
|  |     paths: | ||||||
|  |       - tools/tools.new.json | ||||||
|  |     expire_in: 1 week | ||||||
|   script: |   script: | ||||||
|     # Remove Xtensa and ULP toolchains from the PATH, tests will expect a clean environment |     # Remove Xtensa and ULP toolchains from the PATH, tests will expect a clean environment | ||||||
|     - export PATH=$(p=$(echo $PATH | tr ":" "\n" | grep -v "/root/.espressif/tools\|/opt/espressif" | tr "\n" ":"); echo ${p%:}) |     - export PATH=$(p=$(echo $PATH | tr ":" "\n" | grep -v "/root/.espressif/tools\|/opt/espressif" | tr "\n" ":"); echo ${p%:}) | ||||||
|   | |||||||
| @@ -124,7 +124,7 @@ class TestMaintainer(unittest.TestCase): | |||||||
|             json_old = f.read() |             json_old = f.read() | ||||||
|         with open(os.path.join(idf_path, 'tools/tools.new.json'), 'r') as f: |         with open(os.path.join(idf_path, 'tools/tools.new.json'), 'r') as f: | ||||||
|             json_new = f.read() |             json_new = f.read() | ||||||
|         self.assertEqual(json_old, json_new) |         self.assertEqual(json_old, json_new, "Please check 'tools/tools.new.json' to find a cause!") | ||||||
|  |  | ||||||
|  |  | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Anton Maklakov
					Anton Maklakov