X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Ftap-empty.sh;h=ec1e909f5a22ebe3f82a1f5d266f173725c1e447;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=4d3bfda9cc78fdbe3a18cdaeba39c0831efed979;hpb=119d65e9e06ffc6e8997d3ba386429db6cc2ef27;p=platform%2Fupstream%2Fautomake.git diff --git a/t/tap-empty.sh b/t/tap-empty.sh old mode 100755 new mode 100644 index 4d3bfda..ec1e909 --- a/t/tap-empty.sh +++ b/t/tap-empty.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 @@ -18,10 +18,9 @@ # - empty TAP input # - blank TAP input -am_parallel_tests=yes -. ./defs || Exit 1 +. test-init.sh -. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh" +. tap-setup.sh # Empty TAP input. : > empty.test @@ -46,8 +45,7 @@ END for input in empty blank white white2; do cp $input.test all.test - $MAKE check >stdout && { cat stdout; Exit 1; } - cat stdout + run_make -O -e FAIL check count_test_results total=1 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=1 grep '^ERROR: all\.test - missing test plan$' stdout done