| /third_party/rust/crates/lazy-static.rs/compiletest/tests/compile-fail/ |
| D | README.md | 4 For more information check out [`compiletest` crate](https://github.com/laumann/compiletest-rs). 8 ## Notes on working with `compiletest` crate 10 * Currently code that is inside macro should not be annotated, as `compiletest` 15 * `compiletest` crate by default sets `allow(dead_code)` lint level so make sure 20 issue in the `compiletest` crate and your error was probably not registered -
|
| /third_party/rust/rust/src/tools/clippy/tests/ |
| D | compile-test.rs | 7 use compiletest::{status_emitter, CommandBuilder}; 8 use ui_test as compiletest; 22 fn base_config(test_dir: &str) -> compiletest::Config { in base_config() 23 let mut config = compiletest::Config { in base_config() 28 compiletest::OutputConflictHandling::Bless in base_config() 30 compiletest::OutputConflictHandling::Error("cargo test -- -- --bless".into()) in base_config() 35 ..compiletest::Config::rustc(Path::new("tests").join(test_dir)) in base_config() 93 compiletest::run_tests_generic( in run_ui() 95 move |path| compiletest::default_file_filter(path) && test_filter(path), in run_ui() 96 compiletest::default_per_file_config, in run_ui() [all …]
|
| /third_party/rust/crates/lazy-static.rs/compiletest/tests/ |
| D | compile_tests.rs | 1 extern crate compiletest_rs as compiletest; 4 let mut config = compiletest::Config::default(); in run_mode() 13 compiletest::run_tests(&config); in run_mode()
|
| /third_party/rust/rust/src/tools/rustdoc-gui-test/ |
| D | Cargo.toml | 8 compiletest = { path = "../compiletest" }
|
| /third_party/rust/crates/proc-macro2/tests/ui/ |
| D | Cargo.toml | 9 name = "compiletest" 10 path = "compiletest.rs"
|
| /third_party/rust/rust/tests/ui/errors/ |
| D | remap-path-prefix.rs | 4 // The remapped paths are not normalized by compiletest. 7 // The remapped paths aren't recognized by compiletest, so we
|
| /third_party/rust/rust/src/tools/rustdoc-gui-test/src/ |
| D | main.rs | 2 use compiletest::header::TestProps; 114 let compiletest_c = compiletest::common::Config { in main() 116 mode: compiletest::common::Mode::Rustdoc, in main()
|
| /third_party/rust/rust/src/tools/tidy/src/ |
| D | target_specific_tests.rs | 13 /// Iterate through compiletest headers in a test contents. 15 /// Adjusted from compiletest/src/header.rs.
|
| D | deps.rs | 621 let compiletest = pkg_from_name(rust_metadata, "compiletest"); in check_rustfix() localVariable 623 direct_deps_of(rust_metadata, &compiletest.id).find(|p| p.name == "rustfix").unwrap(); in check_rustfix() 628 "cargo's rustfix version {} does not match compiletest's rustfix version {}\n\ in check_rustfix() 630 compiletest along with cargo.", in check_rustfix()
|
| /third_party/rust/rust/tests/run-make/unstable-flag-required/ |
| D | README.md | 2 It should eventually be removed in favor of UI tests once compiletest stops
|
| /third_party/rust/rust/tests/ui/extern-flag/ |
| D | force-extern.rs | 2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
|
| D | redundant-force-extern.rs | 2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
|
| D | no-force-extern.rs | 2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
|
| /third_party/rust/rust/tests/ui/lint/ |
| D | future-incompat-test.rs | 6 // the future incompatible report (as extracted by compiletest).
|
| /third_party/rust/rust/tests/ui/json/ |
| D | json-bom-plus-crlf-multifile.rs | 1 // (This line has BOM so it's ignored by compiletest for directives)
|
| D | json-bom-plus-crlf.rs | 1 // (This line has BOM so it's ignored by compiletest for directives)
|
| /third_party/rust/rust/src/bootstrap/ |
| D | test.rs | 716 run.path("src/tools/compiletest") in should_run() 723 /// Runs `cargo test` for compiletest. 729 // compiletest uses unstable features of the `test` crate. in run() 737 "src/tools/compiletest", in run() 742 run_cargo_test(cargo, &[], &[], "compiletest", compiler, host, builder); in run() 938 builder.ensure(Compiletest { in run() 1259 builder.ensure(Compiletest { 1346 builder.ensure(Compiletest { in run() 1370 // Running compiletest requires a C compiler to be available, but it might not in run() 1409 struct Compiletest { struct [all …]
|
| /third_party/rust/rust/tests/ui/suggestions/ |
| D | trait-hidden-method.rs | 2 // HELP included so that compiletest errors on the bad suggestion
|
| /third_party/rust/rust/tests/ui/meta/ |
| D | revision-bad.rs | 1 // Meta test for compiletest: check that when we give the wrong error
|
| D | revision-ok.rs | 1 // Meta test for compiletest: check that when we give the right error
|
| D | rustc-env.rs | 1 // Compiletest meta test checking that rustc-env and unset-rustc-env directives
|
| /third_party/rust/rust/tests/ui/ |
| D | issue-13560.rs | 2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
|
| /third_party/rust/rust/src/tools/compiletest/src/ |
| D | main.rs | 3 use compiletest::{common::Mode, log_config, parse_config, run_tests};
|
| /third_party/rust/crates/lazy-static.rs/ |
| D | .travis.yml | 17 - cd compiletest
|
| /third_party/rust/rust/tests/ui/numbers-arithmetic/ |
| D | overflowing-lsh-4.rs | 21 // this assertion will pass (and the compiletest driver will in main()
|