mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	fix
This commit is contained in:
		| @@ -57,7 +57,11 @@ start_esphome() { | |||||||
|   echo "> [$target_component] [$test_name] [$target_platform_with_version]" |   echo "> [$target_component] [$test_name] [$target_platform_with_version]" | ||||||
|   set -x |   set -x | ||||||
|   # TODO: Validate escape of Command line substitution value |   # TODO: Validate escape of Command line substitution value | ||||||
|  |   if [ "$continue_on_fail" = true ]; then | ||||||
|  |     python3 -m esphome -s component_name $target_component -s component_dir ../../components/$target_component -s test_name $test_name -s target_platform $target_platform $esphome_command $component_test_file || true | ||||||
|  |   else | ||||||
|     python3 -m esphome -s component_name $target_component -s component_dir ../../components/$target_component -s test_name $test_name -s target_platform $target_platform $esphome_command $component_test_file |     python3 -m esphome -s component_name $target_component -s component_dir ../../components/$target_component -s test_name $test_name -s target_platform $target_platform $esphome_command $component_test_file | ||||||
|  |   fi | ||||||
|   { set +x; } 2>/dev/null |   { set +x; } 2>/dev/null | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| i2c: |  | ||||||
|   - id: i2c_lps22 |  | ||||||
|     scl: 16 |  | ||||||
|     sda: 17 |  | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml |   i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| i2c: |  | ||||||
|   - id: i2c_lps22 |  | ||||||
|     scl: 5 |  | ||||||
|     sda: 4 |  | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-ard.yaml |   i2c: !include ../../test_build_components/common/i2c/esp32-c3-ard.yaml | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| i2c: |  | ||||||
|   - id: i2c_lps22 |  | ||||||
|     scl: 5 |  | ||||||
|     sda: 4 |  | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml |   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| i2c: |  | ||||||
|   - id: i2c_lps22 |  | ||||||
|     scl: 16 |  | ||||||
|     sda: 17 |  | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml |   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| i2c: |  | ||||||
|   - id: i2c_lps22 |  | ||||||
|     scl: 5 |  | ||||||
|     sda: 4 |  | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml |   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| i2c: |  | ||||||
|   - id: i2c_lps22 |  | ||||||
|     scl: 5 |  | ||||||
|     sda: 4 |  | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml |   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp32-c3-ard.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -1 +1,4 @@ | |||||||
|  | packages: | ||||||
|  |   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
| @@ -2,6 +2,6 @@ substitutions: | |||||||
|   cs_pin: GPIO5 |   cs_pin: GPIO5 | ||||||
|  |  | ||||||
| packages: | packages: | ||||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml |   spi: !include ../../test_build_components/common/spi/esp32-ard.yaml | ||||||
|  |  | ||||||
| <<: !include common.yaml | <<: !include common.yaml | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user