Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 356e5d9

Browse files
Shorten testsuite ProjectName and DataDir to prevent errors on Windows runner
Long paths caused certain commands to fail on the Windows runner. Reducing their lengths prevents those errors from occurring.
1 parent 639057f commit 356e5d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎internal/integrationtest/arduino-cli.go‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ import (
3737
"google.golang.org/grpc"
3838
)
3939

40+
func init() {
41+
testsuite.ProjectName = "cli"
42+
}
43+
4044
// FindRepositoryRootPath returns the repository root path
4145
func FindRepositoryRootPath(t *testing.T) *paths.Path {
4246
repoRootPath := paths.New(".")
@@ -89,7 +93,7 @@ func NewArduinoCliWithinEnvironment(env *testsuite.Environment, config *ArduinoC
8993
cli := &ArduinoCLI{
9094
path: config.ArduinoCLIPath,
9195
t: require.New(env.T()),
92-
dataDir: env.RootDir().Join("Arduino15"),
96+
dataDir: env.RootDir().Join("A"),
9397
sketchbookDir: env.RootDir().Join("Arduino"),
9498
stagingDir: env.RootDir().Join("Arduino15/staging"),
9599
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /