trybuild

Test harness for ui tests of compiler diagnostics

APACHE-2.0 License

Downloads
14M
Stars
784
Committers
22
trybuild -

Published by dtolnay almost 4 years ago

  • Attempt to build tests with the same versions of all dependencies as workspace lockfile (#53)
trybuild -

Published by dtolnay almost 4 years ago

  • Restore compatibility with Rust 1.31 (#101)
trybuild -

Published by dtolnay almost 4 years ago

  • Perform case insensitive comparison for path replacements to normalize platform-dependent stderr on case insensitive filesystems (#73)
trybuild -

Published by dtolnay about 4 years ago

  • Propagate --target flag from cargo test invocation (#61)
trybuild -

Published by dtolnay about 4 years ago

  • Allow passing TestCases inside catch_unwind
trybuild -

Published by dtolnay about 4 years ago

trybuild -

Published by dtolnay about 4 years ago

  • Omit line numbers from $WORKSPACE errors (#83, #85)
trybuild -

Published by dtolnay about 4 years ago

  • Normalize platform-dependent dir separators in type names of closures (#81, thanks @erickt)
trybuild -

Published by dtolnay about 4 years ago

  • Documentation improvements
trybuild -

Published by dtolnay about 4 years ago

  • Show more helpful error when a cargo metadata invocation fails (#78)
trybuild -

Published by dtolnay over 4 years ago

  • Normalize absolute paths that point into the host's rustup rust-src component (#74)
trybuild -

Published by dtolnay over 4 years ago

  • Normalize away trailing whitespace before writing stderr files; trailing whitespace is problematic because some editors will throw it away on save
trybuild -

Published by dtolnay over 4 years ago

  • Normalize some instances of Windows path separators (#66)
trybuild -

Published by dtolnay over 4 years ago

  • Pass the same --features argument across all invocations of cargo build (#59, thanks @hannobraun)
trybuild -

Published by dtolnay over 4 years ago

  • Force lockfile generation to be more resilient to stale dependencies (#54, thanks @ascjones)
trybuild -

Published by dtolnay over 4 years ago

  • Support running tests in offline mode (#50, thanks @thomaseizinger)
trybuild -

Published by dtolnay over 4 years ago

  • Mention TRYBUILD=overwrite in the error message when a compile-fail test fails (#49)
trybuild -

Published by dtolnay over 4 years ago

  • Define --cfg trybuild when building the ui tests; this allows build scripts (via cfg!(trybuild)) and libraries (via #[cfg(trybuild)]) to omit parts that are unneeded for the ui tests
trybuild -

Published by dtolnay almost 5 years ago

  • Fix feature flag detection on Windows (#44, thanks @abonander)
trybuild -

Published by dtolnay almost 5 years ago

  • Add experimental support for highlighting the difference between expected and actual compiler output (#41)