Hello community,

here is the log from the commit of package php5 for openSUSE:Factory checked in 
at 2014-05-02 09:51:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php5 (Old)
 and      /work/SRC/openSUSE:Factory/.php5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/php5/php5.changes        2014-04-11 
14:40:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.php5.new/php5.changes   2014-05-02 
09:52:05.000000000 +0200
@@ -1,0 +2,26 @@
+Wed Apr 30 12:07:22 UTC 2014 - pgaj...@suse.com
+
+- build-test.sh: use relevant api for build; propagate build 
+  parameters to osc
+
+-------------------------------------------------------------------
+Wed Apr 30 08:47:24 UTC 2014 - sch...@linux-m68k.org
+
+- php5-gcc_builtins.patch: remove unused patch
+
+-------------------------------------------------------------------
+Tue Apr 29 09:34:56 UTC 2014 - pgaj...@suse.com
+
+- add build-test.sh and latest_test_results.txt for testing 
+  regressions in tests before and after update. Run
+  
+  sh build-test.sh 
+
+  after changes. php will get built and test results will be
+  compared with latest_test_results.txt and differences reported.
+
+  mv latest_test_results.txt.new latest_test_results.txt
+
+  if differences are acceptable.
+
+-------------------------------------------------------------------
@@ -3042 +3068 @@
-- roxen/pike still doesn�t work
+- roxen/pike still doesn´t work
@@ -3153 +3179 @@
-- some fixes in DAV, still doesn�t work
+- some fixes in DAV, still doesn´t work

Old:
----
  php5-gcc_builtins.patch

New:
----
  build-test.sh
  latest_test_results.txt

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php5.spec ++++++
--- /var/tmp/diff_new_pack.ocbgag/_old  2014-05-02 09:52:07.000000000 +0200
+++ /var/tmp/diff_new_pack.ocbgag/_new  2014-05-02 09:52:07.000000000 +0200
@@ -16,6 +16,10 @@
 #
 
 
+# _without_ make_test by default
+# use build-test.sh for testing!
+%bcond_with make_test
+
 Name:           php5
 %global apiver      20121113
 %global zendver     20121212
@@ -158,11 +162,6 @@
 Patch12:        php5-BNC-457056.patch
 Patch13:        php5-cloexec.patch
 Patch14:        php5-missing-extdeps.patch
-%if 0%{suse_version} > 1120
-%ifarch x86_64
-Patch15:        php5-gcc_builtins.patch
-%endif
-%endif
 # following patch is to fix configure tests for crypt; the aim is to have php
 # built against glibc's crypt; problem is, that our glibc doesn't support 
extended
 # DES, so as soon as upstream fixes this, don't forgot to remove extended DES
@@ -1321,11 +1320,6 @@
 %endif
 %patch13
 %patch14
-%if 0%{suse_version} > 1120
-%ifarch x86_64·
-%patch15
-%endif
-%endif
 %patch16
 %patch17
 %patch18
@@ -1577,9 +1571,10 @@
   exit 1
 fi
 # Run tests, using the CLI SAPI
+%if %{with make_test}
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 LANG=POSIX LC_ALL=POSIX
 unset TZ
-#%{__make} test
+%{__make} test || true
 set +x
 for f in `find .. -name "*.diff" -type f -print`; do
        echo "TEST FAILURE: $f --"
@@ -1588,6 +1583,7 @@
 done
 set -x
 unset NO_INTERACTION REPORT_EXIT_STATUS
+%endif
 
 %install
 # install function

++++++ build-test.sh ++++++
#!/bin/bash
TEST_RESULT_FILE='latest_test_results.txt'
function usage
{
  echo "usage: $0 buildroot [osc ARGUMENTS]"
  echo '       builds php in buildroot and checks test result for regressions'
  echo "       against $TEST_RESULT_FILE"
}

if [ -z $1 ]; then
  echo 'ERROR: missing a parameter: buildroot'
  usage
  exit 1
fi

if [ "$1" == "-h" ]; then
  usage
  exit 0
fi

export OSC_BUILD_ROOT=$1
shift
apiurl=`cat .osc/_apiurl 2>/dev/null`
if [ ! -z "$apiurl" ]; then
  apiurl="-A $apiurl"
fi
osc $apiurl build $@ --no-verify --with make_test php5.spec 
cat $OSC_BUILD_ROOT/.build.log \
  | sed 's:\r: :' \
  | egrep 'TEST [0-9]+\/[0-9]+|SKIP.*reason' \
  | sed 's:^\[[ 0-9]\+s\] ::' \
  | sed 's:\[[^\]]*\.phpt\][ \t]*$::' \
    > ${TEST_RESULT_FILE}.new

if [ ! -e ${TEST_RESULT_FILE} ]; then
  echo "WARNING: ${TEST_RESULT_FILE} doesnt exist, creating"
  echo "from ${TEST_RESULT_FILE}.new"
  mv ${TEST_RESULT_FILE}.new ${TEST_RESULT_FILE}
else
  echo --- DIFFERENCES -------------------------------------------
  diff -up $TEST_RESULT_FILE ${TEST_RESULT_FILE}.new
  echo -----------------------------------------------------------
  echo "Do not forgot to "
  echo "mv ${TEST_RESULT_FILE}.new ${TEST_RESULT_FILE}"
  echo "when regressions are not relevant."
  echo
fi


++++++ latest_test_results.txt ++++++
++++ 12850 lines (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to