aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2011-03-07 12:23:57 +1100
committerAlex Brainman <alex.brainman@gmail.com>2011-03-07 12:23:57 +1100
commit94401f524ea26f72afcb6454b0cd2c5c7749a7f5 (patch)
tree44251bcec647f562a8b4fe9af0bda4dd65d0ebec
parent6193e0ba0075963de35e35a384c2c6ce77968c67 (diff)
downloadgo-94401f524ea26f72afcb6454b0cd2c5c7749a7f5.tar.gz
go-94401f524ea26f72afcb6454b0cd2c5c7749a7f5.zip
path/filepath: disable test on windows to fix build
R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4235054
-rw-r--r--src/pkg/path/filepath/path_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go
index 469ca6a802..8f887f00bb 100644
--- a/src/pkg/path/filepath/path_test.go
+++ b/src/pkg/path/filepath/path_test.go
@@ -8,6 +8,7 @@ import (
"os"
"path/filepath"
"reflect"
+ "runtime"
"testing"
)
@@ -279,6 +280,10 @@ func (v *TestVisitor) VisitFile(path string, f *os.FileInfo) {
}
func TestWalk(t *testing.T) {
+ // TODO(brainman): enable test once Windows version is implemented.
+ if runtime.GOOS == "windows" {
+ return
+ }
makeTree(t)
// 1) ignore error handling, expect none