Skip to content

Commit 88f1663

Browse files
committed
Remove unnecessary unit tests
1 parent 6aff362 commit 88f1663

File tree

4 files changed

+0
-68
lines changed

4 files changed

+0
-68
lines changed

tests/check_library_manager_compliance.bats

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22

33
source ../arduino-ci-script.sh
44

5-
# Must be >= 1.8.0
6-
TESTS_BATS_IDE_VERSION="1.8.6"
7-
TESTS_BATS_APPLICATION_FOLDER="$APPLICATION_FOLDER"
8-
9-
# Make sure the test's environment variables were configured
10-
11-
@test "\"\$TESTS_BATS_IDE_VERSION\" != \"\"" {
12-
[ "$TESTS_BATS_IDE_VERSION" != "" ]
13-
# The Xvfb command breaks the unit tests on Travis CI. That command is run with Arduino IDE 1.6.13 or older.
14-
virtualFramebufferRequiredIDEversionsRegex="^1.[56]"
15-
[[ ! "$TESTS_BATS_IDE_VERSION" =~ $virtualFramebufferRequiredIDEversionsRegex ]]
16-
}
17-
18-
@test "\"\$TESTS_BATS_APPLICATION_FOLDER\" != \"\"" {
19-
[ "$TESTS_BATS_APPLICATION_FOLDER" != "" ]
20-
}
21-
225
@test "check_library_manager_compliance \"./check_library_manager_compliance/ValidLibrary\"" {
236
expectedExitStatus=$ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS
247
run check_library_manager_compliance "./check_library_manager_compliance/ValidLibrary"

tests/check_library_properties.bats

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22

33
source ../arduino-ci-script.sh
44

5-
# Must be >= 1.8.0
6-
TESTS_BATS_IDE_VERSION="1.8.6"
7-
TESTS_BATS_APPLICATION_FOLDER="$APPLICATION_FOLDER"
8-
9-
# Make sure the test's environment variables were configured
10-
11-
@test "\"\$TESTS_BATS_IDE_VERSION\" != \"\"" {
12-
[ "$TESTS_BATS_IDE_VERSION" != "" ]
13-
# The Xvfb command breaks the unit tests on Travis CI. That command is run with Arduino IDE 1.6.13 or older.
14-
virtualFramebufferRequiredIDEversionsRegex="^1.[56]"
15-
[[ ! "$TESTS_BATS_IDE_VERSION" =~ $virtualFramebufferRequiredIDEversionsRegex ]]
16-
}
17-
18-
@test "\"\$TESTS_BATS_APPLICATION_FOLDER\" != \"\"" {
19-
[ "$TESTS_BATS_APPLICATION_FOLDER" != "" ]
20-
}
21-
225
@test "check_library_properties \"./check_library_properties/ValidLibraryPropertiesUnix\"" {
236
expectedExitStatus=$ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS
247
run check_library_properties "./check_library_properties/ValidLibraryPropertiesUnix"

tests/check_library_structure.bats

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22

33
source ../arduino-ci-script.sh
44

5-
# Must be >= 1.8.0
6-
TESTS_BATS_IDE_VERSION="1.8.6"
7-
TESTS_BATS_APPLICATION_FOLDER="$APPLICATION_FOLDER"
8-
9-
# Make sure the test's environment variables were configured
10-
11-
@test "\"\$TESTS_BATS_IDE_VERSION\" != \"\"" {
12-
[ "$TESTS_BATS_IDE_VERSION" != "" ]
13-
# The Xvfb command breaks the unit tests on Travis CI. That command is run with Arduino IDE 1.6.13 or older.
14-
virtualFramebufferRequiredIDEversionsRegex="^1.[56]"
15-
[[ ! "$TESTS_BATS_IDE_VERSION" =~ $virtualFramebufferRequiredIDEversionsRegex ]]
16-
}
17-
18-
@test "\"\$TESTS_BATS_APPLICATION_FOLDER\" != \"\"" {
19-
[ "$TESTS_BATS_APPLICATION_FOLDER" != "" ]
20-
}
21-
225
@test "check_library_structure \"./check_library_structure/ValidLibraryOnePointZero\"" {
236
expectedExitStatus=$ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS
247
run check_library_structure "./check_library_structure/ValidLibraryOnePointZero"

tests/check_sketch_structure.bats

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22

33
source ../arduino-ci-script.sh
44

5-
# Must be >= 1.8.0
6-
TESTS_BATS_IDE_VERSION="1.8.6"
7-
TESTS_BATS_APPLICATION_FOLDER="$APPLICATION_FOLDER"
8-
9-
# Make sure the test's environment variables were configured
10-
11-
@test "\"\$TESTS_BATS_IDE_VERSION\" != \"\"" {
12-
[ "$TESTS_BATS_IDE_VERSION" != "" ]
13-
# The Xvfb command breaks the unit tests on Travis CI. That command is run with Arduino IDE 1.6.13 or older.
14-
virtualFramebufferRequiredIDEversionsRegex="^1.[56]"
15-
[[ ! "$TESTS_BATS_IDE_VERSION" =~ $virtualFramebufferRequiredIDEversionsRegex ]]
16-
}
17-
18-
@test "\"\$TESTS_BATS_APPLICATION_FOLDER\" != \"\"" {
19-
[ "$TESTS_BATS_APPLICATION_FOLDER" != "" ]
20-
}
21-
225
@test "check_sketch_structure \"./check_library_structure/DoesntExist\"" {
236
expectedExitStatus=$ARDUINO_CI_SCRIPT_CHECK_SKETCH_STRUCTURE_FOLDER_DOESNT_EXIST_EXIT_STATUS
247
run check_sketch_structure "./check_library_structure/DoesntExist"

0 commit comments

Comments
 (0)