blog: fix test on android, add copyright header

Change-Id: I193531fe0e8f177d3b55fc1ef0840299f973c482
Reviewed-on: https://go-review.googlesource.com/c/164678
Reviewed-by: Elias Naur <mail@eliasnaur.com>
diff --git a/local_test.go b/local_test.go
index 3b8de62..a848b27 100644
--- a/local_test.go
+++ b/local_test.go
@@ -1,9 +1,14 @@
+// Copyright 2018 The Go Authors.  All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // +build !appengine
 
 package main
 
 import (
 	"net/http/httptest"
+	"runtime"
 	"strings"
 	"testing"
 
@@ -11,6 +16,9 @@
 )
 
 func TestServer(t *testing.T) {
+	if runtime.GOOS == "android" {
+		t.Skip("skipping on android; can't run go tool")
+	}
 	mux, err := newServer(false, "/static", blog.Config{
 		TemplatePath: "./template",
 	})