trybuild

Test harness for ui tests of compiler diagnostics

APACHE-2.0 License

Downloads
14M
Stars
784
Committers
22
trybuild -

Published by dtolnay over 2 years ago

  • Preparatory work to adopt Cargo's new --keep-going flag (https://github.com/rust-lang/cargo/pull/10383) which will make possible for trybuild to build all the ui test inputs simultaneously instead of one at a time, greatly reducing execution time (#156)
trybuild -

Published by dtolnay over 2 years ago

  • Improvements to reduce compile time
trybuild -

Published by dtolnay over 2 years ago

  • Better normalization of Windows filepaths in diagnostics (#147)
trybuild -

Published by dtolnay over 2 years ago

  • Use the same version of the Cargo resolver for the test build as used by the crate being tested (#149)
trybuild -

Published by dtolnay almost 3 years ago

  • Drop dependency on lazy_static in favor of once_cell
trybuild -

Published by dtolnay almost 3 years ago

  • Normalize diagnostics inside of generated sources written to the Cargo-provided OUT_DIR (#143)
trybuild -

Published by dtolnay almost 3 years ago

  • Display full path of test files (#139, thanks @taiki-e)
trybuild -

Published by dtolnay almost 3 years ago

  • Strip line numbers from every file other than the one that was the argument to fn compile_fail (#136)
trybuild -

Published by dtolnay about 3 years ago

  • Fix a case of normalization unexpectedly replacing a URL component as if it were a directory path (#134)
trybuild -

Published by dtolnay about 3 years ago

  • Improvements to normalization of project directory in compiler output (#130, #131, #132)
trybuild -

Published by dtolnay about 3 years ago

  • Eliminate inconsistency between windows and unix filepaths in diagnostics
trybuild -

Published by dtolnay about 3 years ago

  • Normalize extern crate filepaths after --> to account for upstream rustc diagnostics changes (#128)
trybuild -

Published by dtolnay about 3 years ago

  • Support edition = "2021"
trybuild -

Published by dtolnay about 3 years ago

  • Expose a cfg that forces building as host architecture during a cross build (#123, thanks @taiki-e)
trybuild -

Published by dtolnay about 3 years ago

  • Make ui tests compatible with -Z instrument-coverage and other uses of RUSTFLAGS (#121, thanks @taiki-e)
trybuild -

Published by dtolnay about 3 years ago

  • Replace path to cargo registry with normalized path (#117, thanks @bkchr)
trybuild -

Published by dtolnay over 3 years ago

  • Prevent concurrent test runs from clashing on project directory (#58, #114)
trybuild -

Published by dtolnay over 3 years ago

  • Normalize paths of path dependencies outside of current crate's workspace (#107, #110, thanks @weiznich)
trybuild -

Published by dtolnay over 3 years ago

  • Fix compatibility with sccache by respecting test-time CARGO environment variable over build-time one (#111, thanks @rexhoffman)
trybuild -

Published by dtolnay over 3 years ago

  • Preserve any other patch fields from workspace .toml (#109, thanks @jlas)