]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Add new a new tests make target "checked-failed" which reruns any failed tests
authorTheodore Ts'o <tytso@mit.edu>
Sat, 11 Nov 2006 14:45:50 +0000 (09:45 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Nov 2006 14:45:50 +0000 (09:45 -0500)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/ChangeLog
tests/Makefile.in

index 7de19f863c7ba77ede3b899d7fa51ad6b698a491..b21ea95ab69517ec0e5c9f81442b50988cb594cd 100644 (file)
@@ -1,5 +1,8 @@
 2006-11-11  Theodore Tso  <tytso@mit.edu>
 
+       * 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.
 
index 43acc78540f3eb36543af6d00889f1f243e1fddc..f9d5d781c98359379ab0eefbed4f514ea07b8aeb 100644 (file)
@@ -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: