From: Theodore Ts'o Date: Sat, 11 Nov 2006 14:45:50 +0000 (-0500) Subject: Add new a new tests make target "checked-failed" which reruns any failed tests X-Git-Tag: E2FSPROGS-1_40-WIP-1114~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52325593b1979509dc3f18232b50359e311268cc;p=thirdparty%2Fe2fsprogs.git Add new a new tests make target "checked-failed" which reruns any failed tests Signed-off-by: "Theodore Ts'o" --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 7de19f863..b21ea95ab 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,8 @@ 2006-11-11 Theodore Tso + * Makefile.in (check-failed): New target which automatically + re-runs any failed tests + * f_badinode, f_bad_disconnected_inode: Update expect scripts to show check for i_blocks_hi instead of i_frag and i_fsize. diff --git a/tests/Makefile.in b/tests/Makefile.in index 43acc7854..f9d5d781c 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -28,6 +28,15 @@ check:: test_script @echo " " @./test_script +check-failed: + @a=`/bin/ls *.failed 2> /dev/null | sed -e 's/.failed//'`; \ + if test "$$a"x == x ; then \ + echo "No failed tests" ; \ + else \ + ./test_script $$a ; \ + fi + + TDIR=f_testnew # Target which creates a new testcase to simplify adding new regression tests. testnew: