Debian Codegraph @

tests/README

raw
1 elly/angband end-to-end tests
2
3 This directory contains the end-to-end tests. The important script here is
4 run-test, which runs angband with -mtest, feeds it some input, and compares the
5 output against the expected output.
6
7 Layout of a test:
8 /tests/$suite/$test:
9 /input: Input to supply to the test frontend.
10 /output: Expected output from the test.
11 /matcher: Optional; an arbitrary program to match input against output;
12 will be run instead of diff(1).
13 /run.out: Optional; output from last run of this test.
14
15 For examples, look in /tests/trivial.