diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2011-03-07 12:23:57 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2011-03-07 12:23:57 +1100 |
commit | a4a97b46612580fb4ef749155573f8833e11619f (patch) | |
tree | d941cbe5fd8dffa95035d5cb70744d74cc6aa81f /src/pkg/path | |
parent | 32c8fc7f17da1bda2c37afb053f81b50e7525ff2 (diff) | |
download | go-a4a97b46612580fb4ef749155573f8833e11619f.tar.gz |
path/filepath: disable test on windows to fix build
R=golang-dev, rsc1
CC=golang-dev
http://codereview.appspot.com/4235054
Diffstat (limited to 'src/pkg/path')
-rw-r--r-- | src/pkg/path/filepath/path_test.go | 5 |
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 469ca6a80..8f887f00b 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 |