tests: count fixme as todo
authorJean Privat <jean@pryen.org>
Fri, 23 Nov 2012 21:17:57 +0000 (16:17 -0500)
committerJean Privat <jean@pryen.org>
Fri, 23 Nov 2012 21:17:57 +0000 (16:17 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/tests.sh

index e6dd3a7..e1751dc 100755 (executable)
@@ -122,7 +122,7 @@ function process_result()
                else
                        echo "[fixme] out/$pattern.res $FIXME"
                fi
-               ok="$ok $pattern"
+               todos="$todos $pattern"
        elif [ -n "$SOSO" ]; then
                if [ -n "$tap" ]; then
                        echo "ok - $description # SOSO"
@@ -143,7 +143,7 @@ function process_result()
                else
                        echo "[fixme soso] out/$pattern.res $SOSOF"
                fi
-               ok="$ok $pattern"
+               todos="$todos $pattern"
        elif [ -n "$NSAV" ]; then
                if [ -n "$tap" ]; then
                        echo "not ok - $description"
@@ -398,7 +398,7 @@ if [ -n "$tap" ]; then
        echo "# ok:" `echo $ok | wc -w`
        echo "# not ok:" `echo $nok | wc -w`
        echo "# no sav:" `echo $nos | wc -w`
-       echo "# todos:" `echo $todos | wc -w`
+       echo "# todo/fixme:" `echo $todos | wc -w`
        exit
 fi
 
@@ -412,7 +412,7 @@ if [ -n "$nos" ]; then
        echo "no sav: $nos"
 fi
 if [ -n "$todos" ]; then
-       echo "todos: $todos"
+       echo "todo/fixme: $todos"
 fi
 
 # write $ERRLIST