Add a 'test verifier' sub-test.

This test runs the verifier on each function and matches the resulting
verifier error against the "error:" annotation.

Move the existing verifier test into filetests/verifier/ and use the new
syntex.
This commit is contained in:
Jakob Stoklund Olesen
2016-09-16 16:19:47 -07:00
parent 49202bf21b
commit a98d6e5256
7 changed files with 88 additions and 69 deletions

View File

@@ -10,6 +10,7 @@ use filetest::runner::TestRunner;
pub mod subtest;
mod runner;
mod domtree;
mod verifier;
/// Main entry point for `cton-util test`.
///