| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | #! /bin/sh# Copyright (C) 2011-2017 Free Software Foundation, Inc.## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program.  If not, see <http://www.gnu.org/licenses/>.# TAP support:#  - handling of "ambiguous" TODO and SKIP directives# See also related test 'tap-todo-skip-together.sh'.. test-init.sh. tap-setup.shcat > all.test <<END1..6ok 1 # foo SKIPnot ok 2 # bar TODOok 3 # :SKIPnot ok 4 # :TODOok 5 # SKIP SKIPnot ok 6 # TODO TODOENDrun_make -O -e FAIL checkcount_test_results total=6 pass=2 fail=2 xpass=0 xfail=1 skip=1 error=0cat > exp << 'END'PASS: all.test 1 # foo SKIPFAIL: all.test 2 # bar TODOPASS: all.test 3 # :SKIPFAIL: all.test 4 # :TODOSKIP: all.test 5 # SKIP SKIPXFAIL: all.test 6 # TODO TODOEND$FGREP ': all.test' stdout > gotcat expcat gotdiff exp got:
 |