File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ matrix:
82
82
- cd ..
83
83
- git clone https://github.com/per1234/arduino-ci-script-tests
84
84
- cd arduino-ci-script-tests
85
- - git checkout a3745f44577648bb34c3784ed564535d8196bcf7
85
+ - git checkout 573daca37f80a720b9e097de21ddc7d69c0b46f4
86
86
script :
87
87
- bats check_keywords_txt.bats
88
88
- bats check_library_manager_compliance.bats
Original file line number Diff line number Diff line change @@ -1596,7 +1596,9 @@ function check_field_name_case() {
1596
1596
ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER=1
1597
1597
readonly ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_REDUNDANT_PARAGRAPH_EXIT_STATUS=$ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER
1598
1598
ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER=$(( ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER + 1 ))
1599
- readonly ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_BLANK_NAME=$ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER
1599
+ readonly ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_BLANK_NAME_EXIT_STATUS=$ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER
1600
+ # For backwards compatibility. Some releases of arduino-ci-script used this variable name that didn't follow the standard form.
1601
+ readonly ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_BLANK_NAME=$ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_BLANK_NAME_EXIT_STATUS
1600
1602
ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER=$(( ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER + 1 ))
1601
1603
readonly ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_INVALID_ARCHITECTURE_EXIT_STATUS=$ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER
1602
1604
ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER=$(( ARDUINO_CI_SCRIPT_EXIT_STATUS_COUNTER + 1 ))
@@ -1721,7 +1723,7 @@ function check_library_properties() {
1721
1723
# Check for blank name value
1722
1724
if [[ " $nameValue " == " " ]]; then
1723
1725
echo " ERROR: ${normalizedLibraryPropertiesPath} /library.properties: Has an undefined name field."
1724
- exitStatus=$( set_exit_status " $exitStatus " $(( ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_BLANK_NAME + checkFolderNameExitStatus)) )
1726
+ exitStatus=$( set_exit_status " $exitStatus " $(( ARDUINO_CI_SCRIPT_CHECK_LIBRARY_PROPERTIES_BLANK_NAME_EXIT_STATUS + checkFolderNameExitStatus)) )
1725
1727
else
1726
1728
# Check for invalid name value
1727
1729
# Library Manager installs libraries to a folder that is the name field value with any spaces replaced with _
You can’t perform that action at this time.
0 commit comments