pkg/runtest: disable broken test combinations

Amusingly this was always broken but nobody was ever able to compile
32-bit binaries on Linux since the addition of the tests.
This commit is contained in:
Dmitry Vyukov 2020-05-16 14:02:18 +02:00
parent 67206203d3
commit 0ee915a4b7
4 changed files with 10 additions and 2 deletions

View File

@ -190,7 +190,8 @@ func (ctx *Context) generatePrograms(progs chan *RunRequest) error {
}
}
properties := map[string]bool{
"sandbox=" + sandbox: true,
"arch=" + ctx.Target.Arch: true,
"sandbox=" + sandbox: true,
}
for _, threaded := range []bool{false, true} {
name := name

View File

@ -1,3 +1,6 @@
# 32_shmem has 4-byte alignment for int64 and everything goes havoc.
# requires: -arch=32_shmem
syz_compare(&AUTO="010000000200000003000400000000000500000000000000", 0x18, &AUTO=@align0={0x1, 0x2, 0x3, 0x4, 0x5}, AUTO)
syz_compare(&AUTO="", 0x18, &AUTO=@align0={0x0, 0x0, 0x0, 0x0, 0x0}, 0x17) # EBADF
syz_compare(&AUTO="", 0x18, &AUTO=@align0={0x1, 0x0, 0x0, 0x0, 0x0}, AUTO) # EINVAL

View File

@ -1,3 +1,6 @@
# 32_shmem has 4-byte alignment for int64 and everything goes havoc.
# requires: -arch=32_shmem
syz_compare(&AUTO="ab03000000000000cdcdcdcdcdcdcdcdebffff03ab0303abaa00000000000000", 0x20, &AUTO=@bf0={0xabab, 0xcdcdcdcdcdcdcdcd, 0xabab, 0xffff, 0xffffff, 0xabab, 0xabab, 0xaaa}, AUTO)
syz_compare(&AUTO="dcfcde563422f10e", 0x8, &AUTO=@bf2={0x0abc, 0x0bcd, 0xcdef, 0x123456, 0x78ef12}, AUTO)
syz_compare(&AUTO="0ef1223456defcdc", 0x8, &AUTO=@bf3={0x0abc, 0x0bcd, 0xcdef, 0x123456, 0x78ef12}, AUTO)

View File

@ -1,4 +1,5 @@
# TODO: all these results are wrong, correct answers are:
# 32_shmem has 4-byte alignment for int64 and everything goes havoc.
# requires: -arch=32_shmem
syz_compare(&AUTO="1200000034067800", AUTO, &AUTO=@bf4={0x12, {0x34, 0x56, 0x78}}, AUTO)
syz_compare(&AUTO="1200000034060000", AUTO, &AUTO=@bf5={0x12, {0x34, 0x56}}, AUTO)