X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Ftap-planskip-unplanned.sh;h=f48585c6108955c119437f9c44ba1aa54f5cb4d9;hb=9d9aa6d158d85c1c95aed63fd5633977f29d668f;hp=6ea3f057b6a17d059e6878daaaff69b0d3ef5614;hpb=5ddf10071d94acf2ae0e69e187641f22cce0199a;p=platform%2Fupstream%2Fautomake.git diff --git a/t/tap-planskip-unplanned.sh b/t/tap-planskip-unplanned.sh old mode 100755 new mode 100644 index 6ea3f05..f48585c --- a/t/tap-planskip-unplanned.sh +++ b/t/tap-planskip-unplanned.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 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 @@ -27,8 +27,7 @@ cat > all.test <stdout && { cat stdout; exit 1; } -cat stdout +run_make -O -e FAIL check count_test_results total=2 pass=1 fail=0 xpass=0 xfail=0 skip=0 error=1 grep '^ERROR: all\.test - too many tests run (expected 0, got 1)$' stdout @@ -38,8 +37,7 @@ ok 2 # SKIP not ok 3 # TODO 1..0 # SKIP too late END -$MAKE check >stdout && { cat stdout; exit 1; } -cat stdout +run_make -O -e FAIL check count_test_results total=4 pass=1 fail=0 xpass=0 xfail=1 skip=1 error=1 grep '^ERROR: all\.test - too many tests run (expected 0, got 3)$' stdout @@ -47,8 +45,7 @@ cat > all.test <stdout && { cat stdout; exit 1; } -cat stdout +run_make -O -e FAIL check count_test_results total=3 pass=0 fail=0 xpass=0 xfail=0 skip=1 error=2 grep '^ERROR: all\.test 1 # UNPLANNED$' stdout grep '^ERROR: all\.test - too many tests run (expected 0, got 1)$' stdout @@ -60,8 +57,7 @@ ok 2 # SKIP not ok 3 not ok 4 # TODO END -$MAKE check >stdout && { cat stdout; exit 1; } -cat stdout +run_make -O -e FAIL check count_test_results total=6 pass=0 fail=0 xpass=0 xfail=0 skip=1 error=5 grep '^ERROR: all\.test 1 # UNPLANNED$' stdout grep '^ERROR: all\.test 2 # UNPLANNED$' stdout