compiletest

Module common

Source

Re-exports§

  • pub use self::Mode::*;

Macros§

Structs§

Enums§

Constants§

Functions§

  • default_os 🔒
  • Used by ui tests to generate things like foo.stderr from foo.rs.
  • Absolute path to the directory to use for incremental compilation. Example: /path/to/build/host-tuple/test/ui/relative/testname.mode/testname.inc
  • Absolute path to the directory where all output for the given test/revision should reside. Example: /path/to/build/host-tuple/test/ui/relative/testname.revision.mode/
  • Absolute path to the base filename used as output for the given test/revision. Example: /path/to/build/host-tuple/test/ui/relative/testname.revision.mode/testname
  • Absolute path to the directory where all output for all tests in the given relative_dir group should reside. Example: /path/to/build/host-tuple/test/ui/relative/ This is created early when tests are collected to avoid race conditions.
  • Generates a unique name for the test, such as testname.revision.mode.