diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-05-08 00:39:02 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-05-08 00:39:02 +0900 |
| commit | 9a164ff4c59e19afbbc13072676d06aa2f70942e (patch) | |
| tree | d35ea499270d3deaac76c95045c281eedaf2e0a0 /src/test/ui/numbers-arithmetic | |
| parent | 82cb88b7777f370eb0afd84459f53ded6627061b (diff) | |
Skip tests on emscripten
Diffstat (limited to 'src/test/ui/numbers-arithmetic')
8 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/numbers-arithmetic/divide-by-zero.rs b/src/test/ui/numbers-arithmetic/divide-by-zero.rs index fcbc23b8367..30e0e6c1bdd 100644 --- a/src/test/ui/numbers-arithmetic/divide-by-zero.rs +++ b/src/test/ui/numbers-arithmetic/divide-by-zero.rs @@ -1,5 +1,7 @@ // run-fail // error-pattern:attempt to divide by zero +// ignore-emscripten no processes + #[allow(unconditional_panic)] fn main() { let y = 0; diff --git a/src/test/ui/numbers-arithmetic/mod-zero.rs b/src/test/ui/numbers-arithmetic/mod-zero.rs index a2798175d68..08371639412 100644 --- a/src/test/ui/numbers-arithmetic/mod-zero.rs +++ b/src/test/ui/numbers-arithmetic/mod-zero.rs @@ -1,5 +1,7 @@ // run-fail // error-pattern:attempt to calculate the remainder with a divisor of zero +// ignore-emscripten no processes + #[allow(unconditional_panic)] fn main() { let y = 0; diff --git a/src/test/ui/numbers-arithmetic/overflowing-add.rs b/src/test/ui/numbers-arithmetic/overflowing-add.rs index 7d63fe3d20b..b0f22a74b4a 100644 --- a/src/test/ui/numbers-arithmetic/overflowing-add.rs +++ b/src/test/ui/numbers-arithmetic/overflowing-add.rs @@ -1,6 +1,7 @@ // run-fail // error-pattern:thread 'main' panicked at 'attempt to add with overflow' // compile-flags: -C debug-assertions +// ignore-emscripten no processes #![allow(arithmetic_overflow)] diff --git a/src/test/ui/numbers-arithmetic/overflowing-mul.rs b/src/test/ui/numbers-arithmetic/overflowing-mul.rs index 6e17aeb6761..34ab5d8fad5 100644 --- a/src/test/ui/numbers-arithmetic/overflowing-mul.rs +++ b/src/test/ui/numbers-arithmetic/overflowing-mul.rs @@ -1,5 +1,6 @@ // run-fail // error-pattern:thread 'main' panicked at 'attempt to multiply with overflow' +// ignore-emscripten no processes // compile-flags: -C debug-assertions #![allow(arithmetic_overflow)] diff --git a/src/test/ui/numbers-arithmetic/overflowing-neg.rs b/src/test/ui/numbers-arithmetic/overflowing-neg.rs index f77bc132e76..fe77544641c 100644 --- a/src/test/ui/numbers-arithmetic/overflowing-neg.rs +++ b/src/test/ui/numbers-arithmetic/overflowing-neg.rs @@ -1,5 +1,6 @@ // run-fail // error-pattern:thread 'main' panicked at 'attempt to negate with overflow' +// ignore-emscripten no processes // compile-flags: -C debug-assertions #![allow(arithmetic_overflow)] diff --git a/src/test/ui/numbers-arithmetic/overflowing-pow-signed.rs b/src/test/ui/numbers-arithmetic/overflowing-pow-signed.rs index a855ef0ec06..b59efe6f212 100644 --- a/src/test/ui/numbers-arithmetic/overflowing-pow-signed.rs +++ b/src/test/ui/numbers-arithmetic/overflowing-pow-signed.rs @@ -1,5 +1,6 @@ // run-fail // error-pattern:thread 'main' panicked at 'attempt to multiply with overflow' +// ignore-emscripten no processes // compile-flags: -C debug-assertions fn main() { diff --git a/src/test/ui/numbers-arithmetic/overflowing-pow-unsigned.rs b/src/test/ui/numbers-arithmetic/overflowing-pow-unsigned.rs index 26a2b2c4b8a..f2643c16463 100644 --- a/src/test/ui/numbers-arithmetic/overflowing-pow-unsigned.rs +++ b/src/test/ui/numbers-arithmetic/overflowing-pow-unsigned.rs @@ -1,5 +1,6 @@ // run-fail // error-pattern:thread 'main' panicked at 'attempt to multiply with overflow' +// ignore-emscripten no processes // compile-flags: -C debug-assertions fn main() { diff --git a/src/test/ui/numbers-arithmetic/overflowing-sub.rs b/src/test/ui/numbers-arithmetic/overflowing-sub.rs index 2e2ee521247..66685ac961a 100644 --- a/src/test/ui/numbers-arithmetic/overflowing-sub.rs +++ b/src/test/ui/numbers-arithmetic/overflowing-sub.rs @@ -1,5 +1,6 @@ // run-fail // error-pattern:thread 'main' panicked at 'attempt to subtract with overflow' +// ignore-emscripten no processes // compile-flags: -C debug-assertions #![allow(arithmetic_overflow)] |
