Home
last modified time | relevance | path

Searched full:compiletest (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/rust/crates/lazy-static.rs/compiletest/tests/compile-fail/
DREADME.md4 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/
Dcompile-test.rs7 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/
Dcompile_tests.rs1 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/
DCargo.toml8 compiletest = { path = "../compiletest" }
/third_party/rust/crates/proc-macro2/tests/ui/
DCargo.toml9 name = "compiletest"
10 path = "compiletest.rs"
/third_party/rust/rust/tests/ui/errors/
Dremap-path-prefix.rs4 // 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/
Dmain.rs2 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/
Dtarget_specific_tests.rs13 /// Iterate through compiletest headers in a test contents.
15 /// Adjusted from compiletest/src/header.rs.
Ddeps.rs621 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/
DREADME.md2 It should eventually be removed in favor of UI tests once compiletest stops
/third_party/rust/rust/tests/ui/extern-flag/
Dforce-extern.rs2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
Dredundant-force-extern.rs2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
Dno-force-extern.rs2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
/third_party/rust/rust/tests/ui/lint/
Dfuture-incompat-test.rs6 // the future incompatible report (as extracted by compiletest).
/third_party/rust/rust/tests/ui/json/
Djson-bom-plus-crlf-multifile.rs1 // (This line has BOM so it's ignored by compiletest for directives)
Djson-bom-plus-crlf.rs1 // (This line has BOM so it's ignored by compiletest for directives)
/third_party/rust/rust/src/bootstrap/
Dtest.rs716 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/
Dtrait-hidden-method.rs2 // HELP included so that compiletest errors on the bad suggestion
/third_party/rust/rust/tests/ui/meta/
Drevision-bad.rs1 // Meta test for compiletest: check that when we give the wrong error
Drevision-ok.rs1 // Meta test for compiletest: check that when we give the right error
Drustc-env.rs1 // Compiletest meta test checking that rustc-env and unset-rustc-env directives
/third_party/rust/rust/tests/ui/
Dissue-13560.rs2 // ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
/third_party/rust/rust/src/tools/compiletest/src/
Dmain.rs3 use compiletest::{common::Mode, log_config, parse_config, run_tests};
/third_party/rust/crates/lazy-static.rs/
D.travis.yml17 - cd compiletest
/third_party/rust/rust/tests/ui/numbers-arithmetic/
Doverflowing-lsh-4.rs21 // this assertion will pass (and the compiletest driver will in main()

1234