TeamCity: add linux/arm64/tip and disable failing arm64 tests (#2359)

* TeamCity: add linux/arm64/tip configuration

So that it can be tested when we make the next-version-support-branch.

* tests: disable failing cgo tests on arm64
This commit is contained in:
Alessandro Arzilli 2021-02-24 17:18:23 +01:00 committed by GitHub
parent 5360c62869
commit 92fb175192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 6 deletions

@ -43,6 +43,7 @@ val targets = arrayOf(
"linux/386/1.16",
"linux/arm64/1.16",
"linux/arm64/tip",
"windows/amd64/1.16",
"windows/amd64/tip",

@ -1,10 +1,11 @@
Tests skipped by each supported backend:
* 386 skipped = 2% (3/147)
* 386 skipped = 2.7% (4/147)
* 1 broken
* 2 broken - cgo stacktraces
* arm64 skipped = 2% (3/147)
* 3 broken - cgo stacktraces
* arm64 skipped = 2.7% (4/147)
* 2 broken
* 1 broken - cgo stacktraces
* 1 broken - global variable symbolication
* darwin/lldb skipped = 0.68% (1/147)
* 1 upstream issue

@ -3289,9 +3289,8 @@ func TestCgoStacktrace(t *testing.T) {
}
}
if runtime.GOARCH == "386" {
t.Skip("cgo stacktraces not supported on i386 for now")
}
skipOn(t, "broken - cgo stacktraces", "386")
skipOn(t, "broken - cgo stacktraces", "arm64")
protest.MustHaveCgo(t)
// Tests that:

@ -1550,6 +1550,10 @@ func TestPluginVariables(t *testing.T) {
func TestCgoEval(t *testing.T) {
protest.MustHaveCgo(t)
if runtime.GOARCH == "arm64" {
t.Skip("cgo evaluation broken on arm64")
}
testcases := []varTest{
{"s", true, `"a string"`, `"a string"`, "*char", nil},
{"longstring", true, `"averylongstring0123456789a0123456789b0123456789c0123456789d01234...+1 more"`, `"averylongstring0123456789a0123456789b0123456789c0123456789d01234...+1 more"`, "*const char", nil},