Files
Maciej Borzecki bbcb6d5e15 tests/unit/go: skip the clang variant on 14.04
The 14.04 build is using a github.com/mvo5/libseccomp-golang fork, which is even
further behind on fixes, that combined with clang being picky fails the build
like so

../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:404:2: duplicate case _Ciconst_C_ARCH_MIPS (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:406:2: duplicate case _Ciconst_C_ARCH_MIPS64 (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:408:2: duplicate case _Ciconst_C_ARCH_MIPS64N32 (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:410:2: duplicate case _Ciconst_C_ARCH_MIPSEL (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:412:2: duplicate case _Ciconst_C_ARCH_MIPSEL64 (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:414:2: duplicate case _Ciconst_C_ARCH_MIPSEL64N32 (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:416:2: duplicate case _Ciconst_C_ARCH_PPC (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:418:2: duplicate case _Ciconst_C_ARCH_PPC64 (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:420:2: duplicate case _Ciconst_C_ARCH_PPC64LE (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:422:2: duplicate case _Ciconst_C_ARCH_S390 (value 4294967295) in switch
	previous case at $WORK/b338/_cgo_gotypes.go:75:7
../../../../pkg/mod/github.com/mvo5/libseccomp-golang@v0.9.1-0.20180308152521-f4de83b52afb/seccomp_internal.go:422:2: too many errors

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2022-05-10 10:35:57 +02:00
..