Skip to content

v.fixturetest

fn is_diagnostic_fixture_dir #

fn is_diagnostic_fixture_dir(path string) bool

is_diagnostic_fixture_dir reports whether path is a known diagnostic .vv/.out suite.

fn run #

fn run(vexe string, dir string, invocation_args []string) int

run compares every .vv compiler invocation with its adjacent .out file.

fn slash_diagnostic_paths #

fn slash_diagnostic_paths(output string) string

slash_diagnostic_paths spells the path of each diagnostic location in output with /, like the .out files of fixtures do; the compiler reports paths with \ on Windows. Only a path that starts a line as path:line:column, after an optional Details: or called from , changes: source excerpts and messages keep their backslashes.