Filter the diff for conditional blocks.
Filter the diff for conditional blocks.
The check file can contain lines of the form:
#partest java7
where the line contains a conventional flag name.
In the diff output, these lines have the form:
> #partest java7
Blocks which don't apply are filtered out,
and what remains is the desired diff.
Line edit commands such as 0a1,6
don't count
as diff, so return a nonempty diff only if
material diff output was seen.
Filtering the diff output (instead of every check
file) means that we only post-process a test that
might be failing, in the normal case.
Grouped files in group order, and lex order within each group.
Evaluate an action body and update the test state.
Evaluate an action body and update the test state.
optionally map a result to a test state.
Normalize the log output by applying test-specific filters and fixing filesystem-specific paths.
Normalize the log output by applying test-specific filters and fixing filesystem-specific paths.
Line filters are picked up from filter: pattern
at the top of sources.
The filtered line is detected with a simple "contains" test,
and yes, "filter" means "filter out" in this context.
File paths are detected using the absolute path of the test root. A string that looks like a file path is normalized by replacing the leading segments (the root) with "$ROOT" and by replacing any Windows backslashes with the one true file separator char.
1.
1. Creates log file and output directory. 2. Runs script function, providing log file and output directory as arguments. 2b. or, just run the script without context and return a new context
Source files for the given test file.
Run a single test. Rubber meets road.