|
|
|
@ -87,6 +87,8 @@ func TestPlatformPrepareCommand(t *testing.T) {
|
|
|
|
|
PlatformCommand: []PlatformCommand{
|
|
|
|
|
{OperatingSystem: "linux", Architecture: "i386", Command: "echo -n linux-i386"},
|
|
|
|
|
{OperatingSystem: "linux", Architecture: "amd64", Command: "echo -n linux-amd64"},
|
|
|
|
|
{OperatingSystem: "linux", Architecture: "arm64", Command: "echo -n linux-arm64"},
|
|
|
|
|
{OperatingSystem: "linux", Architecture: "ppc64le", Command: "echo -n linux-ppc64le"},
|
|
|
|
|
{OperatingSystem: "linux", Architecture: "s390x", Command: "echo -n linux-s390x"},
|
|
|
|
|
{OperatingSystem: "windows", Architecture: "amd64", Command: "echo -n win-64"},
|
|
|
|
|
},
|
|
|
|
@ -99,6 +101,10 @@ func TestPlatformPrepareCommand(t *testing.T) {
|
|
|
|
|
osStrCmp = "linux-i386"
|
|
|
|
|
} else if os == "linux" && arch == "amd64" {
|
|
|
|
|
osStrCmp = "linux-amd64"
|
|
|
|
|
} else if os == "linux" && arch == "arm64" {
|
|
|
|
|
osStrCmp = "linux-arm64"
|
|
|
|
|
} else if os == "linux" && arch == "ppc64le" {
|
|
|
|
|
osStrCmp = "linux-ppc64le"
|
|
|
|
|
} else if os == "linux" && arch == "s390x" {
|
|
|
|
|
osStrCmp = "linux-s390x"
|
|
|
|
|
} else if os == "windows" && arch == "amd64" {
|
|
|
|
|