Skip to content

Commit

Permalink
x/tools: disable tests not supported on Android
Browse files Browse the repository at this point in the history
For golang/go#11811.

Change-Id: Icf16a2d47fcf2fe0d79dd825ccb851a3d63a660f
Reviewed-on: https://go-review.googlesource.com/13268
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
  • Loading branch information
griesemer committed Aug 6, 2015
1 parent 35a40ee commit ff6a3ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ import (
"os"
"path/filepath"
"reflect"
"runtime"
"strings"
"testing"
)

// Test that RepoRootForImportPath creates the correct RepoRoot for a given importPath.
// TODO(cmang): Add tests for SVN and BZR.
func TestRepoRootForImportPath(t *testing.T) {
if runtime.GOOS == "android" {
t.Skipf("incomplete source tree on %s", runtime.GOOS)
}

tests := []struct {
path string
want *RepoRoot
Expand Down

0 comments on commit ff6a3ff

Please sign in to comment.