Skip to content

Commit 3a5ac91

Browse files
committed
Remove unit tests from repository
The invalid sketch unit tests cause problems when arduino-ci-script is bundled with any project installed to a folder the Arduino IDE scans for sketches. When a sketch is found that doesn't have a compliant name, the Arduino IDE attempts to display a confirmation dialog. In the headless environment of Travis CI builds, this causes the build to hang until timeout with absolutely no indication of what the problem is. It's quite unfortunate to need to move the unit tests to a separate repository, since I prefer to commit unit tests along with the code that requires it. This will also make it difficult to run matching unit tests for any given point in the development history (would need to specify the arduino-ci-script-tests commit hash in the arduino-ci-script .travis.yml file, and update this each time the tests were modified).
1 parent dc33a80 commit 3a5ac91

File tree

331 files changed

+4
-4066
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

331 files changed

+4
-4066
lines changed

Diff for: .travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,16 @@ before_install:
6666
- cd ..
6767
- rm --recursive --force bats-core
6868
- bats --version
69-
- cd tests
69+
- cd ..
70+
- git clone https://github.com/per1234/arduino-ci-script-tests
71+
- cd arduino-ci-script-tests
7072
- bats check_keywords_txt.bats
7173
- bats check_library_manager_compliance.bats
7274
- bats check_library_properties.bats
7375
- bats check_library_structure.bats
7476
- bats check_sketch_structure.bats
7577
- bats miscellaneous.bats
76-
- cd ..
78+
- cd ../arduino-ci-script
7779

7880
# Formatting checks:
7981
# Check for files starting with a blank line

Diff for: tests/check_keywords_txt.bats

-431
This file was deleted.

Diff for: tests/check_keywords_txt/BOMcorruptedBlankLine/keywords.txt

-15
This file was deleted.

Diff for: tests/check_keywords_txt/BOMcorruptedComment/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/BOMcorruptedKeyword/keywords.txt

-11
This file was deleted.

Diff for: tests/check_keywords_txt/ConsequentialLeadingSpaceOnKeywordTokentype/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/ConsequentialMultipleTabs/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InconsequentialLeadingSpaceOnKeywordTokentype/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InconsequentialMultipleTabs/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/IncorrectCaseReferenceLink/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/IncorrectFilenameCase/Keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeyword/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeywordTokentypeLastLine/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeywordTokentypeMac/keywords.txt

-1
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeywordTokentypeUnix/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeywordTokentypeWindows/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeywordsTxtBelowMaximumSearchDepth/InvalidSeparator/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidKeywordsTxtBelowMaximumSearchDepth/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidLine/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidReferenceLink/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidRsyntaxtextareaTokentype/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidRsyntaxtextareaTokentypeNoReferenceLink/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/InvalidSeparator/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/LeadingSpaceOnRsyntaxtextareaTokentype/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/MisspelledFilename/keyword.text

-14
This file was deleted.

Diff for: tests/check_keywords_txt/MultipleInvalidKeywordsTxt/InvalidSeparator/keywords.txt

-13
This file was deleted.

Diff for: tests/check_keywords_txt/MultipleInvalidKeywordsTxt/ValidKeywordsTxtUnix/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/MultipleValidKeywordsTxt/ValidKeywordsTxtFolder1/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/MultipleValidKeywordsTxt/ValidKeywordsTxtFolder2/keywords.txt

-14
This file was deleted.

Diff for: tests/check_keywords_txt/NoKeywordsTxt/Foobar.h

-4
This file was deleted.

0 commit comments

Comments
 (0)