mirror of
https://github.com/denoland/rusty_v8.git
synced 2025-01-13 01:22:42 -05:00
13 lines
349 B
Rust
13 lines
349 B
Rust
use std::env;
|
|
|
|
// 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.
|
|
env::set_var("DENO_TRYBUILD", "1");
|
|
|
|
let t = trybuild::TestCases::new();
|
|
t.compile_fail("tests/compile_fail/*.rs");
|
|
}
|