Merge pull request #4277 from matejc/fixothergos

go 1.1 and 1.2: fix builds by removing one test
This commit is contained in:
Mateusz Kowalczyk 2014-09-26 07:42:22 +01:00
commit 2907d31248
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@ stdenv.mkDerivation {
sed -i 's,/bin/pwd,'"`type -P pwd`", src/pkg/os/os_test.go
# Disable the hostname test
sed -i '/TestHostname/areturn' src/pkg/os/os_test.go
# ParseInLocation fails the test
sed -i '/TestParseInSydney/areturn' src/pkg/time/time_test.go
'' + stdenv.lib.optionalString removeGodocExternals ''
sed -i -e '/googleapi/d' -e '/javascript">$/,+6d' lib/godoc/godoc.html
'';

View File

@ -50,6 +50,8 @@ stdenv.mkDerivation {
sed -i 's,/bin/pwd,'"`type -P pwd`", src/pkg/os/os_test.go
# Disable the hostname test
sed -i '/TestHostname/areturn' src/pkg/os/os_test.go
# ParseInLocation fails the test
sed -i '/TestParseInSydney/areturn' src/pkg/time/time_test.go
'';
patches = [ ./cacert-1.2.patch ];