- run regression tests again, but only for fsfs, as bdb
is slow and often runs out of memory OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=62
This commit is contained in:
parent
5d05279e3f
commit
e0014a3f9e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 13 00:44:04 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
- run regression tests again, but only for fsfs, as bdb
|
||||||
|
is slow and often runs out of memory
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 2 18:05:00 CEST 2011 - dmueller@suse.de
|
Tue Aug 2 18:05:00 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
@ -630,16 +630,14 @@ fi
|
|||||||
rm -f %{buildroot}/var/adm/perl-modules/subversion
|
rm -f %{buildroot}/var/adm/perl-modules/subversion
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Don't run regression tests on Factory, they take too long to complete.
|
ulimit -a
|
||||||
# This check needs to be bumped with every release:
|
|
||||||
%if 0%{?suse_version} <= 1110
|
|
||||||
# During "make check", auth-test loads DSOs at runtime and can't find
|
# During "make check", auth-test loads DSOs at runtime and can't find
|
||||||
# them if we don't set up LD_LIBRARY_PATH as below.
|
# them if we don't set up LD_LIBRARY_PATH as below.
|
||||||
export LD_LIBRARY_PATH="$PWD/subversion/libsvn_auth_kwallet/.libs:$PWD/subversion/libsvn_auth_gnome_keyring/.libs:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$PWD/subversion/libsvn_auth_kwallet/.libs:$PWD/subversion/libsvn_auth_gnome_keyring/.libs:$LD_LIBRARY_PATH"
|
||||||
# run test over ra_local (file://)
|
# run test over ra_local (file://)
|
||||||
for fstype in fsfs bdb; do
|
CHECK_FS_TYPE=fsfs
|
||||||
%__make check LOG_TO_STDOUT=true CLEANUP=true FS_TYPE="$fstype"
|
%__make check LOG_TO_STDOUT=true CLEANUP=true FS_TYPE="$CHECK_FS_TYPE"
|
||||||
done
|
|
||||||
SVNSERVE_PIDFILE="$PWD/svnserve.pid"
|
SVNSERVE_PIDFILE="$PWD/svnserve.pid"
|
||||||
# hook up cleanup routine
|
# hook up cleanup routine
|
||||||
function on_exit {
|
function on_exit {
|
||||||
@ -665,9 +663,7 @@ if [ -z "$free_port" ]; then
|
|||||||
fi
|
fi
|
||||||
# run tests over ra_svn (svn://)
|
# run tests over ra_svn (svn://)
|
||||||
"$PWD/subversion/svnserve/svnserve" --listen-host 127.0.0.1 --listen-port "$free_port" --pid-file "$SVNSERVE_PIDFILE" -d -r "$PWD/subversion/tests/cmdline"
|
"$PWD/subversion/svnserve/svnserve" --listen-host 127.0.0.1 --listen-port "$free_port" --pid-file "$SVNSERVE_PIDFILE" -d -r "$PWD/subversion/tests/cmdline"
|
||||||
for fstype in fsfs bdb; do
|
%__make check LOG_TO_STDOUT=true CLEANUP=true FS_TYPE="$CHECK_FS_TYPE" BASE_URL="svn://127.0.0.1:$free_port" || cat $RPM_SOURCE_DIR/%name*/tests.log
|
||||||
%__make check LOG_TO_STDOUT=true CLEANUP=true FS_TYPE="$fstype" BASE_URL="svn://127.0.0.1:$free_port"
|
|
||||||
done
|
|
||||||
kill -9 `cat "$SVNSERVE_PIDFILE" 2>/dev/null`
|
kill -9 `cat "$SVNSERVE_PIDFILE" 2>/dev/null`
|
||||||
%__rm "$SVNSERVE_PIDFILE"
|
%__rm "$SVNSERVE_PIDFILE"
|
||||||
%if %with_java
|
%if %with_java
|
||||||
@ -678,7 +674,6 @@ kill -9 `cat "$SVNSERVE_PIDFILE" 2>/dev/null`
|
|||||||
%if %with_ruby
|
%if %with_ruby
|
||||||
%__make check-swig-rb
|
%__make check-swig-rb
|
||||||
%endif # with_ruby
|
%endif # with_ruby
|
||||||
%endif # suse_version <= 1110
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%__rm -rf "%{buildroot}"
|
%__rm -rf "%{buildroot}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user