about summary refs log tree commit diff
path: root/src/test/ui/cfg
AgeCommit message (Collapse)AuthorLines
2021-07-07Implement cfg(target_abi) (RFC 2992)Josh Triplett-0/+10
Add an `abi` field to `TargetOptions`, defaulting to "". Support using `cfg(target_abi = "...")` for conditional compilation on that field. Gated by `feature(cfg_target_abi)`. Add a test for `target_abi`, and a test for the feature gate. Add `target_abi` to tidy as a platform-specific cfg. This does not add an abi to any existing target.
2021-05-07Rollup merge of #84734 - tmandry:compiletest-needs-unwind, r=Mark-SimulacrumDylan DPC-0/+1
Add `needs-unwind` and beginning of support for testing `panic=abort` std to compiletest For the Fuchsia platform we build libstd with `panic=abort` and would like a way to run tests with that enabled. This adds low-level support for this directly to compiletest. In the future I'd like to add high-level support in rustbuild, e.g. having target-specific flags that allow configuring a panic strategy. (Side note: It would be nice if we could also build multiple configurations for the same target, but I'm getting ahead of myself.) This plus #84500 have everything that's needed to get ui tests passing on fuchsia targets. Part of #84766. Note that this change only includes the header on tests which need an unwinder to _build_, not those which need it to _run_. r? ````@Mark-Simulacrum````
2021-05-06Add needs-unwind to testsTyler Mandry-0/+1
2021-05-03Set target_family="wasm" for wasm targetsSimonas Kazlauskas-4/+7
2021-01-29Add testsest31-0/+94
2021-01-13Update tests for extern block lintingMark Rousskov-26/+32
2020-11-22Drop support for cloudabi targetsLzu Tao-2/+0
2020-11-09Add `#[cfg(panic = "...")]`David Hewitt-0/+34
2020-06-04test: ui: skip tests which aren't appropriate for RISC-VTom Eccles-0/+3
2019-09-30syntax: Support modern attribute syntax in the `meta` matcherVadim Petrochenkov-2/+2
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+515