Bram Moolenaar wrote:
Ralf Schandl wrote:
test11 uses gzip to test the autocmds FileReadPre/Post and
FileWritePre/Post. Gzip might not be available on all platforms, so I
switched to xxd to do the tests.
Attached patch is test11 using xxd instead of gzip.
I suspect many systems won't have "xxd" installed when building/testing
Vim, before installing. That could be fixed by using a path for xxd.
But what path? It would have to be passed in from the Makefile.
That's not going to make it simpler...
Hmm -- possible solution:
STARTTEST
:if(has("win16") || has("win32") || has("win64"))
:let XXD="..\xxd\xxd"
:else
:let XXD="../xxd/xxd"
:endif
...
:exe("au FileWritePre *.hd '[,']!" . XXD )
I don't know if this is worth it ...
- Ralf
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php