[med-svn] [praat] 01/02: d/t/run-tests: Skip unit test fisherQ.praat

Rafael Laboissiere rafael at debian.org
Sun Oct 22 14:20:13 UTC 2017


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

rafael pushed a commit to branch master
in repository praat.

commit 6fcbc4100a069992ee287e971ec908cce37fa433
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Oct 22 06:56:39 2017 -0200

    d/t/run-tests: Skip unit test fisherQ.praat
    
    Closes: #878746
---
 debian/tests/run-tests | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/tests/run-tests b/debian/tests/run-tests
index 3f66b27..8d4ca8d 100755
--- a/debian/tests/run-tests
+++ b/debian/tests/run-tests
@@ -11,8 +11,6 @@ PRAAT=${PRAAT:-praat}
 IFS='
 '
 run() {
-    ## Progress display
-    echo "===== $1"
     ## Increment test counter
     test_count=$(($test_count + 1))
     ## Execute the test and increment ok counter if it succeeds
@@ -36,10 +34,16 @@ for d in $(ls -d */) ; do
         ## Loop over the file in the selected directory
         for f in $(ls ${d%%/}/*.praat) ; do
 
+            ## Progress display
+	    echo "===== $f"
+
             ## Skip scripts that cannot be run from the command line
-	    if [ $f != sys/script2.praat		\
-	         -a $f != "fon ExperimentMFC/experimentMFC.praat" ] ; then
+	    if [ $f != sys/script2.praat				\
+	         -a $f != "fon ExperimentMFC/experimentMFC.praat"	\
+		 -a $f != num/fisherQ.praat ] ; then
 		 run $f
+            else
+	        echo "Test skipped"
             fi
         done
     fi
@@ -50,6 +54,10 @@ cd ../dwtest
 
 ## Loop over the file in the selected directory
 for f in $(ls *.praat) ; do
+
+    ## Progress display
+    echo "===== $f"
+
     ## Skip scripts that cannot be run from the command line
     if [ $f != runAllTests.praat ] ; then
         run $f

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/praat.git



More information about the debian-med-commit mailing list