diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-06-30 03:52:44 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-06-30 03:52:44 +0000 |
commit | 8ffab265ad089b50c8f8ae4c5c19692dba1aad21 (patch) | |
tree | c5c741634d8fcad89891867d79c8ab6cad89e26e | |
parent | bb4cb10ca2d17d9e9dbff429aad15e2e128f3adb (diff) | |
download | netpbm-mirror-8ffab265ad089b50c8f8ae4c5c19692dba1aad21.tar.gz netpbm-mirror-8ffab265ad089b50c8f8ae4c5c19692dba1aad21.tar.xz netpbm-mirror-8ffab265ad089b50c8f8ae4c5c19692dba1aad21.zip |
clarify 'supported'
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1971 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | doc/TESTS | 6 | ||||
-rwxr-xr-x | test/Execute-Tests | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/TESTS b/doc/TESTS index 3196a8fb..7b62a841 100644 --- a/doc/TESTS +++ b/doc/TESTS @@ -55,7 +55,7 @@ appear at the end: ================== SUCCESS 83 FAILURE 1 - TOTAL SUPPORTED 84 + TOTAL TESTABLE 84 ================== All tests done. Sat, 08 Jun 2013 09:30:33 +0000 @@ -205,8 +205,8 @@ http://netpbm.sourceforge.net/prereq.html . =================== Broken programs will invariably lead to failures. Certain programs -(for instance, image generators pbmmake pgmmake) are used in numerous -test scripts. Problem in them will lead to multiple failures. +(for instance, image generators 'pbmmake' and 'pgmmake') are used in numerous +test scripts. Problems in them will lead to multiple failures. To aid you in this situation each test routine lists the necessary programs near the top. diff --git a/test/Execute-Tests b/test/Execute-Tests index 39fab58c..047cf4a3 100755 --- a/test/Execute-Tests +++ b/test/Execute-Tests @@ -89,7 +89,7 @@ fi # For now only "SUCCESS" and "FAILURE" are used. declare -a array=(0 0 0 0 0 0) declare -a status=("SUCCESS" "FAILURE" "UNEXPECTED SUCCESS" - "EXPECTED FAILURE" "NOT SUPPORTED" "TOTAL SUPPORTED") + "EXPECTED FAILURE" "NOT TESTABLE" "TOTAL TESTABLE") # Copy test files to the current work directory @@ -132,9 +132,9 @@ case $result in then let result=0; rm ${t%.test}.out ; else let result=1; fi - let supported=1 ;; -80) let result=4 ; let supported=0;; -*) let result=1 ; let supported=1;; + let testable=1 ;; +80) let result=4 ; let testable=0;; +*) let result=1 ; let testable=1;; esac # Report whether a single test succeeded or failed. @@ -142,7 +142,7 @@ esac echo $t: ${status[${result}]}; echo let array[${result}]=${array[${result}]}+1 -let array[5]=${array[5]}+$supported +let array[5]=${array[5]}+$testable done @@ -180,7 +180,7 @@ echo "All tests done." date -R -u -# Exit with status 0 if all supported tests succeeded, 1 otherwise. +# Exit with status 0 if all possible tests succeeded, 1 otherwise. if [[ ${array[0]} -eq ${array[5]} ]] then exit 0 |