annotate runtime/indent/testdir/cleantest.vim @ 15178:5c3ca8f7adea v8.1.0599

patch 8.1.0599: without the +eval feature the indent tests don't work commit https://github.com/vim/vim/commit/eeed665b0ecd917e88e3475c9615d52546aa124d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 17:43:42 2018 +0100 patch 8.1.0599: without the +eval feature the indent tests don't work Problem: Without the +eval feature the indent tests don't work. Solution: Skip the body of the tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 17:45:04 +0100
parents 19b757c6c6a7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15178
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
1 " Only do this with the +eval feature
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
2 if 1
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
3
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
4 " Deletes all the test output files: *.fail and *.out
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
5 for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
6 call delete(fname)
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
7 endfor
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
8
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
9 endif
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 quit