This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository yui-compressor.

commit 66cf79fc97ab3bcf72015aed04f508f03d1ac30c
Author: tony mancill <tmanc...@debian.org>
Date:   Sat Feb 10 20:37:08 2018 -0800

    Update fix_testsuite patch to work in chroots
---
 debian/patches/fix_testsuite.diff | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/patches/fix_testsuite.diff 
b/debian/patches/fix_testsuite.diff
index c7da736..a6351aa 100644
--- a/debian/patches/fix_testsuite.diff
+++ b/debian/patches/fix_testsuite.diff
@@ -2,8 +2,10 @@ Description: Use /usr/share/java/js.jar
 Author: Damien Raude-Morvan <draz...@debian.org>
 Last-Update: 2011-06-12
 Forwarded: not-needed
---- a/tests/suite.sh
-+++ b/tests/suite.sh
+Index: yui-compressor/tests/suite.sh
+===================================================================
+--- yui-compressor.orig/tests/suite.sh
++++ yui-compressor/tests/suite.sh
 @@ -18,7 +18,7 @@ runtest () {
        
        if [ "$2" == "cssminjs" ]; then 
@@ -13,3 +15,21 @@ Forwarded: not-needed
            )"
           
      else
+@@ -28,7 +28,7 @@ runtest () {
+     fi
+       
+       if [ "$expected" == "$actual" ]; then
+-              echo "Passed: $testfile" > /dev/stderr
++              echo "Passed: $testfile" >&2
+       else
+               (
+                       echo "Test failed: $testfile"
+@@ -38,7 +38,7 @@ runtest () {
+                       echo ""
+                       echo "Actual:"
+                       echo "$actual"
+-              ) > /dev/stderr
++              ) >&2
+               return 1
+       fi
+ }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/yui-compressor.git

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to