git.iko.soy/typeable/nixpkgs
on master help sign in
disabled some failing tests for darwin
commitadaf347bde3607476d51259991662aa54c4dbac3 authorDaiderd Jordan <daiderd@gmail.com> dateThu 22 Oct 2015, 18:32 (11 years ago) parent657b1cc
2 files changed+12−1
pkgs/development/compilers/go/1.4.nix+7−1 pkgs/development/compilers/go/1.5.nix+5
pkgs/development/compilers/go/1.4.nix+7−1
@@ -63,9 +63,15 @@ stdenv.mkDerivation rec {
6363 '' + lib.optionalString stdenv.isDarwin ''
6464 sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
6565 sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
66+ sed -i '/TestCgoLookupIP/areturn' src/net/cgo_unix_test.go
67+ sed -i '/TestChdirAndGetwd/areturn' src/os/os_test.go
68+ sed -i '/TestDialDualStackLocalhost/areturn' src/net/dial_test.go
6669 sed -i '/TestRead0/areturn' src/os/os_test.go
6770 sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go
68− sed -i '/TestDialDualStackLocalhost/areturn' src/net/dial_test.go
71+
72+ # fails when running inside tmux
73+ sed -i '/TestNohup/areturn' src/os/signal/signal_test.go
74+
6975
7076 # remove IP resolving tests, on darwin they can find fe80::1%lo while expecting ::1
7177 sed -i '/TestResolveIPAddr/areturn' src/net/ipraw_test.go
pkgs/development/compilers/go/1.5.nix+5
@@ -74,9 +74,14 @@ stdenv.mkDerivation rec {
7474 sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
7575 sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
7676 sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
77+ sed -i '/TestCgoLookupIP/areturn' src/net/cgo_unix_test.go
78+ sed -i '/TestChdirAndGetwd/areturn' src/os/os_test.go
7779 sed -i '/TestRead0/areturn' src/os/os_test.go
7880 sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go
7981
82+ sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/areturn' src/cmd/go/go_test.go
83+ sed -i '/TestBuildDashIInstallsDependencies/areturn' src/cmd/go/go_test.go
84+
8085 sed -i '/TestDisasmExtld/areturn' src/cmd/objdump/objdump_test.go
8186
8287 touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd