comparison src/testdir/README.txt @ 19465:07627d1b4d8c v8.2.0290

patch 8.2.0290: running individual test differs from all tests Commit: https://github.com/vim/vim/commit/85683ec620be199d63af3b0542a03eeb72b08fb6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 20 22:35:02 2020 +0100 patch 8.2.0290: running individual test differs from all tests Problem: Running individual test differs from all tests. Solution: Pass on environment variables. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/5672)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Feb 2020 22:45:03 +0100
parents e992f31274b7
children baccf9e06efe
comparison
equal deleted inserted replaced
19464:f26f4ce18b1a 19465:07627d1b4d8c
22 22
23 At 2), instead of running the test separately, it can be included in 23 At 2), instead of running the test separately, it can be included in
24 "test_alot". Do this for quick tests without side effects. The test runs a 24 "test_alot". Do this for quick tests without side effects. The test runs a
25 bit faster, because Vim doesn't have to be started, one Vim instance runs many 25 bit faster, because Vim doesn't have to be started, one Vim instance runs many
26 tests. 26 tests.
27
28 At 4), to run a test in GUI, add "GUI_FLAG=-g" to the make command.
27 29
28 30
29 What you can use (see test_assert.vim for an example): 31 What you can use (see test_assert.vim for an example):
30 32
31 - Call assert_equal(), assert_true(), assert_false(), etc. 33 - Call assert_equal(), assert_true(), assert_false(), etc.