summaryrefslogtreecommitdiffstats
path: root/runtime/indent/testdir/cleantest.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/testdir/cleantest.vim')
-rw-r--r--runtime/indent/testdir/cleantest.vim13
1 files changed, 9 insertions, 4 deletions
diff --git a/runtime/indent/testdir/cleantest.vim b/runtime/indent/testdir/cleantest.vim
index 909cf812c4..69c0a1d4ba 100644
--- a/runtime/indent/testdir/cleantest.vim
+++ b/runtime/indent/testdir/cleantest.vim
@@ -1,6 +1,11 @@
-" Deletes all the test output files: *.fail and *.out
-for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
- call delete(fname)
-endfor
+" Only do this with the +eval feature
+if 1
+
+ " Deletes all the test output files: *.fail and *.out
+ for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
+ call delete(fname)
+ endfor
+
+endif
quit