]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0284: make testclean is not able to delete failed screendumps v9.1.0284
authorJulio B <julio.bacel@gmail.com>
Tue, 9 Apr 2024 19:22:41 +0000 (21:22 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 9 Apr 2024 19:22:41 +0000 (21:22 +0200)
Problem:  make testclean is not able to delete failed screendumps.
Solution: Remove the "failed" directory when necessary.
          (Julio B)

Patch 8.1.1080 changed the way that failed screendumps are saved, but
the "rm -rf *.failed" clean command was not ported correctly.

closes: #14468

Signed-off-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/Makefile
src/version.c

index fd2e56c197050cd90e343ec593a6da48968e507c..4e476f966353984d7763faeb65bed7c715f77661 100644 (file)
@@ -89,7 +89,7 @@ RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u un
 # Delete files that may interfere with running tests.  This includes some files
 # that may result from working on the tests, not only from running them.
 clean:
-       -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind
+       -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind failed
        -rm -f opt_test.vim test_result.log $(CLEANUP_FILES)
        -rm -rf $(RM_ON_RUN) $(RM_ON_START)
        -rm -f valgrind.*
index dc9f775ff299e63971ad60fc8dfc9378d15cc4a0..bafbe5b8ec0d873cd78e9d492c7d06e6d2753858 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    284,
 /**/
     283,
 /**/