Lines Matching refs:tests
8 For these functions it's important to have tests that verify the
12 This document describes how the Benchmark library tests compiler output,
13 as well as how to properly write new tests.
42 specified in the tests source file. Please see the documentation
49 after the previous match, so tests should omit checks for unimportant
53 * The tests are compiled with `-O3 -g0`. So we're only testing the
65 The Benchmark tests use `CHECK-CLANG` and `CHECK-GNU` for lines that
77 Writing tests which check the code generated by a compiler are
79 versions may generate entirely different code. The Benchmark tests
83 "more portable" tests; including [matching using regular expressions](https://llvm.org/docs/Command…
109 Often tests require testing assembly lines which may subtly differ
133 The tests require Filecheck to be installed along the `PATH` of the
134 build machine. Otherwise the tests will be disabled.
136 Additionally, as mentioned in the previous section, codegen tests are
137 inherently non-portable. Currently the tests are limited to:
143 tests to other architectures and compilers (using `CHECK` prefixes).
145 Furthermore, the tests fail for builds which specify additional flags