Mercurial > vim
view src/testdir/main.aap @ 7113:83b3261352b3 v7.4.868
commit https://github.com/vim/vim/commit/54f018cd5994c3ffcd0740526e56db6934edf1f2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 15 17:30:40 2015 +0200
patch 7.4.868
Problem: 'smarttab' is also effective when 'paste' is enabled. (Alexander
Monakov)
Solution: Disable 'smarttab' when 'paste' is set. (Christian Brabandt)
Do the same for 'expandtab'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 15 Sep 2015 17:45:04 +0200 |
parents | 2f57d93bdbf6 |
children | ec78ecf15de7 |
line wrap: on
line source
# # Makefile to run all tests for Vim # VimProg ?= ../vim Scripts = test1.out test2.out test3.out test4.out test5.out test6.out test7.out test8.out test9.out test10.out test11.out test12.out test13.out test14.out test15.out test17.out test18.out test19.out test20.out test21.out test22.out test23.out test24.out test25.out test26.out test27.out test28.out test29.out test30.out test31.out test32.out test33.out test34.out test35.out test36.out test37.out test38.out test39.out test40.out test41.out test42.out test43.out test44.out test45.out test46.out test47.out test48.out test49.out test74.out ScriptsGUI = test16.out # Build "nongui" when no target was specified. nongui: newlog $Scripts :print :cat test.log :print ALL DONE # Build "ngui" when specified. gui: newlog $Scripts $ScriptsGUI :print :cat test.log :print ALL DONE $Scripts $ScriptsGUI: $VimProg clean: :del {r}{force} *.out test.log tiny.vim small.vim mbyte.vim mzscheme.vim test.ok X* # test1 is special, it checks for features test1.out: test1.in :del {force} test1.failed tiny.vim small.vim mbyte.vim mzscheme.vim :sys {i} $VimProg -u unix.vim -U NONE --noplugin -s dotest.in test1.in @if os.system("diff test.out test1.ok") != 0: :error test1 FAILED - Something basic is wrong :move {force} test.out test1.out :del {r}{force} X* :rule %.out : %.in :del {force} $(match).failed test.ok :copy $(match).ok test.ok :sys {i} $VimProg -u unix.vim -U NONE --noplugin -s dotest.in $(match).in @if os.system("diff test.out " + match + ".ok") != 0: :print $match FAILED >>test.log :move {force} test.out $(match).failed @else: :move {force} test.out $(match).out :del {r}{force} X* test.ok newlog: :print Test results: >! test.log