gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Gabriele Giacone
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2150-g69ee6d7
Date: Sun, 20 Jul 2014 09:27:42 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  69ee6d737f663227a9bee79bc84a60525c80d7a2 (commit)
       via  50d0cb06a8ce32832e4532166abb9e4431fb8a6e (commit)
      from  d333ee0ed91960d734867bbc3ed515e4939efd80 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=69ee6d737f663227a9bee79bc84a60525c80d7a2


commit 69ee6d737f663227a9bee79bc84a60525c80d7a2
Author: Gabriele Giacone <address@hidden>
Date:   Sun Jul 20 11:23:22 2014 +0200

    testsuite: fix distcheck timing issues match.

diff --git a/testsuite/timingissues b/testsuite/timingissues
index 307c4c0..03f7890 100644
--- a/testsuite/timingissues
+++ b/testsuite/timingissues
@@ -1,15 +1,15 @@
 ### misc-ming.all/loading/loadMovieTestRunner.cpp:113
-FAIL: loadMovieTestRunner: coverart->get_root()->url() == .* (expected: .*) 
\[loadMovieTestRunner.cpp:[0-9]*\]
-FAIL: loadMovieTestRunner: expected: \(red.swf\|blue.swf\|green.jpg\) , 
obtained: \(red.swf\|blue.swf\|green.jpg\) (loadMovieTest.c:[0-9]*)
+FAIL: loadMovieTestRunner: coverart->get_root()->url() == .* (expected: .*) 
\[.*loadMovieTestRunner.cpp:[0-9]*\]
+FAIL: loadMovieTestRunner: expected: \(red.swf\|blue.swf\|green.jpg\) , 
obtained: \(red.swf\|blue.swf\|green.jpg\) (.*loadMovieTest.c:[0-9]*)
 ### misc-ming.all - network tests
 FAIL: XMLSocketTester: consistency check: last trace from run of test  (.*) 
doesn't match pattern (ENDOFTEST)
 FAIL: rtmpytest-runner: consistency check: last trace from run of test 
rtmpytest.swf (Connecting to rtmp://www.gnashdev.org:9984/rtmpyecho) doesn't 
match pattern (ENDOFTEST)
 FAIL: oflaDemo-runner: Tests run 34 (expected 17) \[undefined\]
 ## FAIL: LCTestRunner: consistency check: last trace from run of test  (.*) 
doesn't match pattern (ENDOFTEST)
 ### misc-mtasc.all
-FAIL: sanetests-runner: expected: "undefined" , obtained: "movieclip"  
\[level87.as:59\]
-FAIL: sanetests-runner: expected: "1" , obtained: ""  \[level87.as:75\]
-FAIL: sanetests-runner: expected: "1" , obtained: ""  \[level87.as:72\]
+FAIL: sanetests-runner: expected: "undefined" , obtained: "movieclip" 
\[.*level87.as:59\]
+FAIL: sanetests-runner: expected: "1" , obtained: ""  \[.*level87.as:75\]
+FAIL: sanetests-runner: expected: "1" , obtained: ""  \[.*level87.as:72\]
 ### swfdec
 FAIL: run_swfdec_testsuite_g: gotolabel-multiple.swf:[0-9a-f]* (traces in 
gotolabel-multiple.swf.trace-gnash, log in gotolabel-multiple.swf.log)
 FAIL: run_swfdec_testsuite_m: movieclip-lockroot-loadmovie-[678].swf:[0-9a-f]* 
(traces in movieclip-lockroot-loadmovie-[678].swf.trace-gnash, log in 
movieclip-lockroot-loadmovie-[678].swf.log)

http://git.savannah.gnu.org/cgit//commit/?id=50d0cb06a8ce32832e4532166abb9e4431fb8a6e


commit 50d0cb06a8ce32832e4532166abb9e4431fb8a6e
Author: Gabriele Giacone <address@hidden>
Date:   Sun Jul 20 11:16:27 2014 +0200

    testsuite: do not use tempfile anymore. Support distcheck readonly 
directories.

diff --git a/testsuite/analyse-results.sh b/testsuite/analyse-results.sh
index 410481b..1e5ffe9 100755
--- a/testsuite/analyse-results.sh
+++ b/testsuite/analyse-results.sh
@@ -94,13 +94,16 @@ if test ${total_fail} -gt 0 || test ${total_xpass} -gt 0; 
then
 
        rc=1
        timing=$(dirname $0)/timingissues
-       > ${timing}.tmp || have_tmpfile=false # distcheck builddir is read-only
+       for t in ${suitefail}; do
+               testruns="${testruns} ${t}/testrun.sum"
+       done
+       failures="grep -hw FAIL ${testruns}"
 
        if test ${total_fail} -gt 0; then
                echo "Unexpected failures follow:"
                for s in ${suitefail}; do
                        echo " --=[ ${s} ]=-- "
-                       grep -w FAIL ${s}/testrun.sum | tee -a ${timing}.tmp
+                       grep -w FAIL ${s}/testrun.sum
                done
                echo
        fi
@@ -114,24 +117,20 @@ if test ${total_fail} -gt 0 || test ${total_xpass} -gt 0; 
then
                echo
        fi
 
-       if test "$have_tmpfile" = "false"; then
-               exit $rc
-       fi
-
-       if test `grep -cf $timing ${timing}.tmp` -gt 0; then
-               if test `grep -cvf $timing ${timing}.tmp` -eq 0; then
+       if test `$failures | grep -cf $timing` -gt 0; then
+               if test `$failures | grep -cvf $timing` -eq 0; then
                        echo "All failures are time-related. Exiting 0."
                        echo "See http://wiki.gnashdev.org/PredictableLoading";
                        echo
                        rc=0
                else
                        echo "Time-related failures follow:"
-                       grep -f $timing ${timing}.tmp
+                       $failures | grep -f $timing
                        echo
                        echo "See http://wiki.gnashdev.org/PredictableLoading";
                        echo
                        echo "Non time-related failures follow:"
-                       grep -vf $timing ${timing}.tmp
+                       $failures | grep -vf $timing
                        echo
                fi
        fi
@@ -140,7 +139,7 @@ if test ${total_fail} -gt 0 || test ${total_xpass} -gt 0; 
then
                if test ${total_fail} -gt 0; then
                        echo "Verbose mode enabled. Displaying following files:"
                        echo
-                       swfdecfail=$(sed -n 's/^.*in \(.*.trace-gnash\).*in 
\(.*.log\).*$/\1\n\2/p' ${timing}.tmp)
+                       swfdecfail=$($failures | sed -n 's/^.*in 
\(.*.trace-gnash\).*in \(.*.log\).*$/\1\n\2/p')
                        for log in $swfdecfail; do
                                echo " testsuite/swfdec/$log"
                                logfiles="${logfiles} testsuite/swfdec/$log"
@@ -159,7 +158,6 @@ if test ${total_fail} -gt 0 || test ${total_xpass} -gt 0; 
then
                fi
        fi
 
-       rm -f ${timing}.tmp
        exit $rc
 else
        exit 0

-----------------------------------------------------------------------

Summary of changes:
 testsuite/analyse-results.sh |   22 ++++++++++------------
 testsuite/timingissues       |   10 +++++-----
 2 files changed, 15 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]