0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-25 00:29:14 -05:00
denoland-rusty-v8/tests/test_ui.rs

12 lines
339 B
Rust
Raw Normal View History

// Don't run UI tests on emulated environment.
#[cfg(not(target_os = "android"))]
#[test]
fn ui() {
// This environment variable tells build.rs that we're running trybuild tests,
// so it won't rebuild V8.
2022-01-21 22:10:38 -05:00
std::env::set_var("DENO_TRYBUILD", "1");
let t = trybuild::TestCases::new();
t.compile_fail("tests/compile_fail/*.rs");
}