Skip to content

Commit

Permalink
Autogenerate the add/sub tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed Nov 25, 2017
1 parent ed89a17 commit ade18a5
Show file tree
Hide file tree
Showing 9 changed files with 548 additions and 0 deletions.
484 changes: 484 additions & 0 deletions build.rs

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions tests/i128_add.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/i128_add.rs"));
8 changes: 8 additions & 0 deletions tests/i128_addo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/i128_addo.rs"));
8 changes: 8 additions & 0 deletions tests/i128_sub.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/i128_sub.rs"));
8 changes: 8 additions & 0 deletions tests/i128_subo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/i128_subo.rs"));
8 changes: 8 additions & 0 deletions tests/u128_add.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/u128_add.rs"));
8 changes: 8 additions & 0 deletions tests/u128_addo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/u128_addo.rs"));
8 changes: 8 additions & 0 deletions tests/u128_sub.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/u128_sub.rs"));
8 changes: 8 additions & 0 deletions tests/u128_subo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![feature(compiler_builtins_lib)]
#![feature(i128_type)]
#![cfg_attr(all(target_arch = "arm",
not(any(target_env = "gnu", target_env = "musl")),
target_os = "linux",
test), no_std)]

include!(concat!(env!("OUT_DIR"), "/u128_subo.rs"));

0 comments on commit ade18a5

Please sign in to comment.