Merge pull request #13412 from xtlsoft/main

Allow tests to run on loong64
pull/10309/merge
Robert Sirchia 2 months ago committed by GitHub
commit d2ae7d0ed1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -92,6 +92,7 @@ func TestPlatformPrepareCommand(t *testing.T) {
{OperatingSystem: "linux", Architecture: "ppc64le", Command: "echo -n linux-ppc64le"},
{OperatingSystem: "linux", Architecture: "s390x", Command: "echo -n linux-s390x"},
{OperatingSystem: "linux", Architecture: "riscv64", Command: "echo -n linux-riscv64"},
{OperatingSystem: "linux", Architecture: "loong64", Command: "echo -n linux-loong64"},
{OperatingSystem: "windows", Architecture: "amd64", Command: "echo -n win-64"},
},
},
@ -111,6 +112,8 @@ func TestPlatformPrepareCommand(t *testing.T) {
osStrCmp = "linux-s390x"
} else if os == "linux" && arch == "riscv64" {
osStrCmp = "linux-riscv64"
} else if os == "linux" && arch == "loong64" {
osStrCmp = "linux-loong64"
} else if os == "windows" && arch == "amd64" {
osStrCmp = "win-64"
} else {

Loading…
Cancel
Save