Skip to content

Commit 96da2b9

Browse files
author
jantje
committed
build counter should increase even if build is skipped + more
stm32 readded but needs fix in install (add include SwrWrapper.h" to arduino.h set skipstart to 240 (must be undone!!) engimusing was referencing wrong issue and board added
1 parent 0013e99 commit 96da2b9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

io.sloeber.tests/src/io/sloeber/core/CreateAndCompileDefaultInoOnAllBoardsTest.java

+6-7
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,19 @@ public class CreateAndCompileDefaultInoOnAllBoardsTest {
3636
private static int myBuildCounter = 0;
3737
private static int myTotalFails = 0;
3838
private static int maxFails = 50;
39-
private static int mySkipAtStart = 0;
39+
private static int mySkipAtStart = 240;
4040
private BoardDescriptor mBoard;
4141
private static final String[] packageUrlsToIgnoreonAllOSes = {
4242
// There is a newer version
4343
"https://raw.githubusercontent.com/ElektorLabs/arduino/master/package_elektor-labs.com_ide-1.6.5_index.json",
4444
//Third party url implies this is outdated (it also doesn't work)
4545
"http://downloads.arduino.cc/packages/package_mkr1000_index.json",
46-
//http 403 error
46+
//http 403 download error
4747
"https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json",
4848
"http://www.arducam.com/downloads/ESP8266_UNO/package_ArduCAM_index.json",
4949
"http://www.arducam.com/downloads/ESP32_UNO/package_ArduCAM_ESP32S_UNO_index.json",
5050
//moved their stuff but didn't bother to update arduino site
5151
"http://www.dwengo.org/sites/default/files/package_dwengo.org_dwenguino_index.json",
52-
//prebuild commands are based on arduino IDE way of working and will not work out of the boxin Sloeber
53-
"https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json",
5452
//arduino ide copies cores to core and platform.txt uses core/avr to point to cores/avr
5553
"https://github.com/Infineon/Assets/releases/download/current/package_infineon_index.json",
5654
//web site not responding
@@ -89,8 +87,8 @@ public class CreateAndCompileDefaultInoOnAllBoardsTest {
8987
"RedBear Duo (Native USB Port)", "RedBear Duo (RBLink USB Port)",
9088

9189

92-
// issue #660
93-
"Engimusing EFM32WG840", "Engimusing EFM32WG842",
90+
// issue #1152 (confirmed 2020 03 07 )
91+
"Engimusing EFM32WG840", "Engimusing EFM32WG842", "Engimusing EFM32WG842F64",
9492

9593
// to investigate why it fails
9694

@@ -326,7 +324,8 @@ public static void installAdditionalBoards() {
326324

327325
@Test
328326
public void testBoard() {
329-
Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", myBuildCounter++ >= mySkipAtStart);
327+
myBuildCounter++;
328+
Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", myBuildCounter >= mySkipAtStart);
330329
Assume.assumeTrue("To many fails. Stopping test", myTotalFails < maxFails);
331330

332331
IPath templateFolder = Shared.getTemplateFolder("CreateAndCompileTest");

0 commit comments

Comments
 (0)