about summary refs log tree commit diff
path: root/src/test/incremental
AgeCommit message (Collapse)AuthorLines
2019-10-05Revert "Auto merge of #63649 - tlively:emscripten-upstream-upgrade, ↵Tyler Mandry-6/+0
r=alexcrichton" This reverts commit 7870050796e5904a0fc85ecbe6fa6dde1cfe0c91, reversing changes made to 2e7244807a7878f6eca3eb7d97ae9b413aa49014.
2019-10-04Fix ABI, run and fix more tests, re-enable CI for PRsThomas Lively-0/+6
2019-09-14Ban non-extern rust intrinsicsMark Rousskov-15/+2
Intrinsics can only be defined by the compiler.
2019-08-26Auto merge of #63580 - wesleywiser:move_promoted_out, r=oli-obkbors-4/+10
Move promoted MIR out of `mir::Body` r? @oli-obk
2019-08-25Revert "Allow a dirty MirBuilt for make_extern and make_method_extern"Josh Stone-2/+2
This reverts commit b4a6f597934f16f89e27058a32a514c9572f148f.
2019-08-23Fix incremental testsWesley Wiser-4/+10
2019-08-22Changed testsWesley Wiser-1/+1
2019-08-19Cherry-pick src/test changes with Centril's changessd234678-157/+156
2019-07-20normalize use of backticks in compiler messages for librustc_incrementalSamy Kacimi-4/+4
https://github.com/rust-lang/rust/issues/60532
2019-07-06while_{let_}loops/change_{break,continue}: typeck_tables_of clean.Mazdak Farrokhzad-4/+4
2019-07-06Adjust incremental test while_loops.rsMazdak Farrokhzad-2/+2
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-48/+48
2019-06-23Auto merge of #61778 - petrochenkov:pass, r=Mark-Simulacrumbors-4/+4
compiletest: Introduce `// {check,build,run}-pass` pass modes Pass UI tests now have three modes ``` // check-pass // build-pass // run-pass ``` mirroring equivalent well-known `cargo` commands. `// check-pass` will compile the test skipping codegen (which is expensive and isn't supposed to fail in most cases). `// build-pass` will compile and link the test without running it. `// run-pass` will compile, link and run the test. Tests without a "pass" annotation are still considered "fail" tests. Most UI tests would probably want to switch to `check-pass`. Tests validating codegen would probably want to run the generated code as well and use `run-pass`. `build-pass` should probably be rare (linking tests?). https://github.com/rust-lang/rust/pull/61755 will provide a way to run the tests with any mode, e.g. bump `check-pass` tests to `run-pass` to satisfy especially suspicious people, and be able to make sure that codegen doesn't breaks in some entirely unexpected way. Tests marked with any mode are expected to pass with any other mode, if that's not the case for some legitimate reason, then the test should be made a "fail" test rather than a "pass" test. Perhaps some secondary CI can verify this invariant, but that's not super urgent. `// compile-pass` still works and is equivalent to `build-pass`. Why is `// compile-pass` bad - 1) it gives an impression that the test is only compiled, but not linked, 2) it doesn't mirror a cargo command. It can be removed some time in the future in a separate PR. cc https://github.com/rust-lang/rust/issues/61712
2019-06-19Rename regression test to link it to the corresponding issueOliver Scherer-0/+0
2019-06-19Remove the `AllocId` from `ByRef` valuesOliver Scherer-0/+17
`ByRef` const values have no identity beyond their value, we should not treat them as having identity. The `AllocId` often differed between equal constants, because of the way that the miri-engine evaluates constants.
2019-06-16compiletest: Remove `skip-codegen`Vadim Petrochenkov-1/+1
2019-06-16compiletest: Validate pass modes harderVadim Petrochenkov-2/+2
2019-06-16compiletest: Introduce `// {check,build,run}-pass` pass modesVadim Petrochenkov-1/+1
2019-05-23Remove subtle Default impl for ValueJohn Kåre Alsaker-1/+0
2019-05-20Rollup merge of #60823 - oli-obk:used_unused_no_mangle, r=michaelwoeristerMazdak Farrokhzad-0/+10
Fix incremental compilation of cdylib emitting spurious unused_attributes lint fixes #60050
2019-05-18Auto merge of #60386 - Goirad:sgx-ignore-tests, r=nikomatsakisbors-0/+1
Added ignore-sgx for appropriate tests in src/test These are all the tests that make sense to ignore when targeting fortanix-unknonw-sgx, at least in test/runpass. Other suites not yet covered.
2019-05-16Added ignore-sgx for appropriate testsDario Gonzalez-0/+1
2019-05-14Fix incremental compilation of cdylib emitting spurious unused_attributes lintOliver Scherer-0/+10
2019-05-12Change compare mode to use -Zborrowck=mirMatthew Jasper-2/+2
2019-05-10Auto merge of #59288 - Centril:hir-if-to-match, r=oli-obkbors-2/+2
[let_chains, 1/6] Remove hir::ExprKind::If Per https://github.com/rust-lang/rust/issues/53667#issuecomment-471583239. r? @oli-obk
2019-05-10Various test changesMazdak Farrokhzad-2/+2
2019-05-10add regression test for #60629Marcel Hellwig-0/+10
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-2/+0
2019-04-23Auto merge of #60172 - varkor:tidy-double-trailing-newline, r=kennytmbors-7/+0
Disallow double trailing newlines in tidy This wasn't done previously in https://github.com/rust-lang/rust/pull/47064#issuecomment-354533010 as it affected too many files, but I think it's best to fix it now so that the number of files with double trailing newlines doesn't keep increasing. r? kennytm
2019-04-22Remove leading newlinesvarkor-1/+0
2019-04-22Remove double trailing newlinesvarkor-7/+0
2019-04-22update tests for migrate mode by defaultMatthew Jasper-4/+4
2019-03-30Update testsJohn Kåre Alsaker-184/+184
2019-03-29Regression test for incremental treatment of ↵Felix S. Klock II-0/+19
rustc_scalar_valid_range_{start,end}.
2019-03-29Regression test for incremental treatment of rustc_on_unimplemented.Felix S. Klock II-0/+27
2019-03-20Add no_hash to query macro and move some queries overJohn Kåre Alsaker-159/+159
2019-03-18Add load_cached query modifier and keep dep node names consistent with query ↵John Kåre Alsaker-175/+175
names
2019-03-18Define queries using a proc macroJohn Kåre Alsaker-77/+77
2019-03-14Moved issue tests to subdirs and normalised names.Alexander Regueiro-3/+3
2019-03-06Regression test for #58813Felix S. Klock II-0/+14
(Update: Fixed test; revision is meant to introduce compile-failure, w/o ICE.)
2019-02-14Rollup merge of #58378 - alexcrichton:incremental-lto, r=michaelwoeristerMazdak Farrokhzad-0/+40
rustc: Implement incremental "fat" LTO Currently the compiler will produce an error if both incremental compilation and full fat LTO is requested. With recent changes and the advent of incremental ThinLTO, however, all the hard work is already done for us and it's actually not too bad to remove this error! This commit updates the codegen backend to allow incremental full fat LTO. The semantics are that the input modules to LTO are all produce incrementally, but the final LTO step is always done unconditionally regardless of whether the inputs changed or not. The only real incremental win we could have here is if zero of the input modules changed, but that's so rare it's unlikely to be worthwhile to implement such a code path. cc #57968 cc rust-lang/cargo#6643
2019-02-13Rollup merge of #58386 - Zoxc:fix-54242, r=michaelwoeristerMazdak Farrokhzad-0/+17
Fix #54242 r? @michaelwoerister
2019-02-12rustc: Implement incremental "fat" LTOAlex Crichton-0/+40
Currently the compiler will produce an error if both incremental compilation and full fat LTO is requested. With recent changes and the advent of incremental ThinLTO, however, all the hard work is already done for us and it's actually not too bad to remove this error! This commit updates the codegen backend to allow incremental full fat LTO. The semantics are that the input modules to LTO are all produce incrementally, but the final LTO step is always done unconditionally regardless of whether the inputs changed or not. The only real incremental win we could have here is if zero of the input modules changed, but that's so rare it's unlikely to be worthwhile to implement such a code path. cc #57968 cc rust-lang/cargo#6643
2019-02-12Set the query in the ImplicitCtxt before trying to mark it greenJohn Kåre Alsaker-0/+17
2019-02-10tests: doc commentsAlexander Regueiro-9/+9
2019-02-08Allow a dirty MirBuilt for make_extern and make_method_externJohn Kåre Alsaker-2/+2
2019-02-08Update testsJohn Kåre Alsaker-153/+153
2019-01-17Fix typo bug in DepGraph::try_mark_green().Michael Woerister-0/+17
2018-12-30Fix unresolved inference variable ICE.David Wood-1/+1
This commit moves well-formedness check for the `UserTypeAnnotation::Ty(..)` case from always running to only when the code is reachable. This solves the ICE that resulted from `src/test/ui/issue-54943-1.rs` (a minimal repro of `dropck-eyepatch` run-pass tests that failed). The main well-formedness check that was intended to be run despite unreachable code still is, that being the `UserTypeAnnotation::TypeOf(..)` case. Before this PR, the other case wasn't being checked at all. It is possible to fix this ICE while still always checking well-formedness for the `UserTypeAnnotation::Ty(..)` case but that solution will ICE in unreachable code for that case, the diff for that change [can be found here](0). [0]: https://gist.github.com/davidtwco/f9751ffd9c0508f7251c0f17adc3af53
2018-12-25Remove licensesMark Rousskov-1216/+0