summaryrefslogtreecommitdiff
blob: 4ed170061c16df2ffcff76856c92fa56d13da80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Skip tests that can't run on Gentoo because of the network sandbox
diff --git a/src/arduino.cc/builder/test/hardware_loader_test.go b/src/arduino.cc/builder/test/hardware_loader_test.go
index c9ea1d5..e7c68d2 100644
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go
@@ -41,6 +41,7 @@ import (
 )
 
 func TestLoadHardware(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"},
 	}
@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) {
 }
 
 func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
 	}
@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) {
 }
 
 func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{"downloaded_board_manager_stuff"},
 	}
@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) {
 }
 
 func TestLoadLotsOfHardware(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"},
 	}
diff --git a/src/arduino.cc/builder/test/helper_tools_downloader.go b/src/arduino.cc/builder/test/helper_tools_downloader.go
index 3642510..e6391b6 100644
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go
@@ -83,6 +83,7 @@ type Core struct {
 }
 
 func DownloadCoresAndToolsAndLibraries(t *testing.T) {
+    t.Skip("Gentoo skips tests requiring network");
 	cores := []Core{
 		Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"},
 		Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"},
@@ -165,6 +166,7 @@ func patchFiles(t *testing.T) {
 }
 
 func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) {
+    t.Skip("Gentoo skips tests requiring network");
 	allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores)
 	NoError(t, err)
 	if allCoresDownloaded &&
diff --git a/src/arduino.cc/builder/test/target_board_resolver_test.go b/src/arduino.cc/builder/test/target_board_resolver_test.go
index 274eb92..d6973e3 100644
--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go
+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go
@@ -39,6 +39,7 @@ import (
 )
 
 func TestTargetBoardResolverUno(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
 		FQBN:            "arduino:avr:uno",
@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) {
 }
 
 func TestTargetBoardResolverDue(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
 		FQBN:            "arduino:sam:arduino_due_x",
@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) {
 }
 
 func TestTargetBoardResolverMega1280(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
 		FQBN:            "arduino:avr:mega:cpu=atmega1280",
@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) {
 }
 
 func TestTargetBoardResolverMega2560(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"},
 		FQBN:            "arduino:avr:mega:cpu=atmega2560",
@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) {
 }
 
 func TestTargetBoardResolverCustomYun(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
 		FQBN:            "my_avr_platform:avr:custom_yun",
@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) {
 }
 
 func TestTargetBoardResolverCustomCore(t *testing.T) {
+    t.Skip("Can't run on Gentoo")
 	ctx := &types.Context{
 		HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"},
 		FQBN:            "watterott:avr:attiny841:core=spencekonde,info=info",