OSDN Git Service

Update to current Go library.
[pf3gnuchains/gcc-fork.git] / libgo / go / archive / tar / writer_test.go
index 48b8911..838cb7e 100644 (file)
@@ -150,5 +150,8 @@ testLoop:
                        t.Errorf("test %d: Incorrect result: (-=expected, +=actual)\n%v",
                                i, bytediff(expected, actual))
                }
+               if testing.Short() { // The second test is expensive.
+                       break
+               }
        }
 }