aboutsummaryrefslogtreecommitdiff
path: root/lua/README.md
diff options
context:
space:
mode:
authorJosh Wainwright <josh.wainwright@ldra.com>2016-04-25 15:31:12 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-04-26 09:29:35 +0200
commit164794e60fd382584cdd64808ce837b885f385c1 (patch)
tree625c0f2e5f2a4472461cb45f9b4bbe21c02ffccf /lua/README.md
parent13499cc0d53277f7604eec2009476c1655cd8ba9 (diff)
downloadvis-164794e60fd382584cdd64808ce837b885f385c1.tar.gz
vis-164794e60fd382584cdd64808ce837b885f385c1.tar.xz
Remove .status files, just use .ref and .out pairs
Diffstat (limited to 'lua/README.md')
-rw-r--r--lua/README.md18
1 files changed, 5 insertions, 13 deletions
diff --git a/lua/README.md b/lua/README.md
index 9b19a83..4f8a6fb 100644
--- a/lua/README.md
+++ b/lua/README.md
@@ -1,21 +1,13 @@
Tests for vis specific lua api
------------------------------
-There are two types of lua tests here:
-
-1. Tests are formed from a `<test>.in`, `<test>.ref` and `<test>.out` triplet.
- The `<test>.in` file is opened by vis, some operatations are performed and
- the modified file is written to `<test>.out`. The new `<test>.out` is
- compared to `<test>.ref` and the test passes if they are identical.
-
-2. Tests are formed from a single `<test>.status` file. This file is created by
- the lua code in the test. It contains a single line per test case, this
- single line should be `true` if the test case passed. The `<test>.status`
- file is checked to ensure it contains only `true` lines and if so, the test
- passes.
+Tests are formed from a `<test>.in`, `<test>.ref` and `<test>.out` triplet.
+The `<test>.in` file is opened by vis, some operatations are performed and the
+modified file is written to `<test>.out`. The new `<test>.out` is compared to
+`<test>.ref` and the test passes if they are identical.
The shell script `test.sh` looks for a file with extension `.in`, eg `test.in`,
and opens it in vis. The corresponding lua file, `test.lua`, is executed and is
-expected to create either a `test.out` or `test.status` file.
+expected to create a `test.out` file.
Type `make` to run all tests.