Mercurial > vim
annotate runtime/indent/Makefile @ 30769:ae10b91ac6b3 v9.0.0719
patch 9.0.0719: too many delete() calls in tests
Commit: https://github.com/vim/vim/commit/56564964e6d0956c29687e8a10cb94fe42f5c097
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 10 22:39:42 2022 +0100
patch 9.0.0719: too many delete() calls in tests
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Oct 2022 23:45:04 +0200 |
parents | 21fb2a3ad3ca |
children | 8d6ef1b3e394 |
rev | line source |
---|---|
14970
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 # Portable Makefile for running indent tests. |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 VIM = vim |
15132
22e7834d286c
patch 8.1.0576: indent script tests pick up installed scripts
Bram Moolenaar <Bram@vim.org>
parents:
15069
diff
changeset
|
4 VIMRUNTIME = .. |
14970
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 # Run the tests that didn't run yet or failed previously. |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 # If a test succeeds a testdir/*.out file will be written. |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 # If a test fails a testdir/*.fail file will be written. |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 test: |
15132
22e7834d286c
patch 8.1.0576: indent script tests pick up installed scripts
Bram Moolenaar <Bram@vim.org>
parents:
15069
diff
changeset
|
10 VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/runtest.vim |
14970
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 |
21250 | 13 clean testclean: |
16417
e6fb5d39a24c
patch 8.1.1213: "make clean" in top dir does not cleanup indent test output
Bram Moolenaar <Bram@vim.org>
parents:
15132
diff
changeset
|
14 rm -f testdir/*.fail testdir/*.out |