pkg/runtest: skip 32-bit tests in short mode

Fails on travis...
This commit is contained in:
Dmitry Vyukov 2018-08-03 21:24:35 +02:00
parent f557fcdfa6
commit df7f6947ba

View File

@ -31,6 +31,10 @@ func test(t *testing.T, sysTarget *targets.Target) {
if err != nil {
t.Fatal(err)
}
if testing.Short() && target.PtrSize == 4 {
// Building 32-bit binaries fails on travis (see comments in Makefile).
t.Skip("skipping in short mode")
}
executor, err := csource.BuildFile(target, filepath.FromSlash("../../executor/executor.cc"))
if err != nil {
t.Fatal(err)