incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [zeta-commits] svn commit: r1212912 - /incubator/zetacomponents/scripts/tests_filenames.sh
Date Sat, 10 Dec 2011 22:45:38 GMT
Author: jpic
Date: Sat Dec 10 22:45:38 2011
New Revision: 1212912

URL: http://svn.apache.org/viewvc?rev=1212912&view=rev
Log:
- tests_filenames.sh: skip files containing abstract test cases

Modified:
    incubator/zetacomponents/scripts/tests_filenames.sh

Modified: incubator/zetacomponents/scripts/tests_filenames.sh
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/scripts/tests_filenames.sh?rev=1212912&r1=1212911&r2=1212912&view=diff
==============================================================================
--- incubator/zetacomponents/scripts/tests_filenames.sh (original)
+++ incubator/zetacomponents/scripts/tests_filenames.sh Sat Dec 10 22:45:38 2011
@@ -34,13 +34,10 @@ for c in trunk/*; do
     fi
 
     for f in $(find $c/tests -name '*php' -not -iwholename '*.svn*' -not -iwholename '*_test.php');
do
-        grep -q 'extends ezcTestCase' $f
+        grep -q '^class .* extends ezcTestCase' $f
         if [ $? -eq 0 ]; then
             if [[ $f == *_tests.php ]]; then
                 $my_mv $f ${f%_tests.php}_test.php
-            elif [[ $f == *test_case.php ]]; then
-                echo NOT TOUCHING $f
-                continue
             else
                 $my_mv $f ${f%.php}_test.php
             fi



Mime
View raw message