diff src/testdir/Makefile @ 13634:2678e38e1de6 v8.0.1689

patch 8.0.1689: no tests for xxd commit https://github.com/vim/vim/commit/29f9ed20b42e7badea6cfb82fb1fb8d71f33e282 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 10 19:20:31 2018 +0200 patch 8.0.1689: no tests for xxd Problem: No tests for xxd. Solution: Add a test. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Apr 2018 19:30:07 +0200
parents 15f0f9f16cd9
children 43b8795f1ddf
line wrap: on
line diff
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -4,6 +4,7 @@
 
 # Use console or GUI.
 VIMPROG = ../vim
+XXDPROG = ../xxd/xxd
 # VIMPROG = ../gvim
 
 SCRIPTSOURCE = ../../runtime
@@ -145,3 +146,6 @@ test_gui_init.res: test_gui_init.vim
 
 opt_test.vim: ../option.c gen_opt_test.vim
 	$(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
+
+test_xxd.res:
+	XXD=$(XXDPROG); export XXD; $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim test_xxd.vim