- DISABLE_NET_TESTS was dropped, this causes net tests to fail

on openSUSE:Factory currently. Disable tests temporarily.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=74
This commit is contained in:
Sascha Peilicke 2011-06-24 21:17:57 +00:00 committed by Git OBS Bridge
parent 7325e86668
commit 47a7c07b6e
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 24 21:17:16 UTC 2011 - saschpe@gmx.de
- DISABLE_NET_TESTS was dropped, this causes net tests to fail
on openSUSE:Factory currently. Disable tests temporarily.
-------------------------------------------------------------------
Fri Jun 24 13:39:31 UTC 2011 - saschpe@suse.de

View File

@ -89,8 +89,8 @@ mkdir -p "$GOBIN"
cd src
# compile and run full test suite (disable net tests)
DISABLE_NET_TESTS=1 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" PATH="$PATH:$GOBIN" ./all.bash
# compile and run full test suite
HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" PATH="$PATH:$GOBIN" ./make.bash
%install
export GOROOT="%{buildroot}%{_libdir}/%{name}"
@ -127,7 +127,7 @@ cp -r pkg $GOROOT
# fix documetation permissions (rpmlint warning)
find doc/ misc/ -type f -exec chmod 0644 '{}' \;
# remove unwanted arch-dependant binaries (rpmlint warning)
rm doc/codelab/wiki/{htmlify.bin,srcextract.bin}
#rm doc/codelab/wiki/{htmlify.bin,srcextract.bin}
rm -rf misc/cgo/test/{_*,*.o,*.out,*.6,*.8}
rm -f misc/dashboard/builder/{gobuilder,*6,*.8}
rm -f misc/goplay/{goplay,*.6,*.8}