|
|
|
@ -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 {
|
|
|
|
|