diff options
author | iximeow <me@iximeow.net> | 2022-04-08 06:08:24 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2022-04-08 06:10:23 -0700 |
commit | 5ddcc51fdee3460fa7aa7f79110d6e811389d080 (patch) | |
tree | cfd69dfffeaa3bf36b8e41612b9ae45c262f945c | |
parent | 434508ca1a5ee2f4bf0f1e3b9f01c5e4e167efa2 (diff) |
add makefile to test yaxpeax-arch with and without no-std
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | tests/test.rs | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2dbd6e6 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +test: test-fast test-exhaustive + +test-fast: test-std test-no-std + +test-exhaustive: + cargo test --ignored + cargo test --no-default-features --ignored + +test-std: + cargo test +test-no-std: + cargo test --no-default-features diff --git a/tests/test.rs b/tests/test.rs index 67893db..7311616 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -8,6 +8,7 @@ mod armv8; use yaxpeax_arch::{Arch, Decoder, U8Reader}; #[test] +#[ignore] fn test_armv7_does_not_panic() { let armv7 = <yaxpeax_arm::armv7::ARMv7 as Arch>::Decoder::default(); @@ -21,6 +22,7 @@ fn test_armv7_does_not_panic() { } } #[test] +#[ignore] fn test_armv7_thumb_does_not_panic() { let mut armv7_t = <yaxpeax_arm::armv7::ARMv7 as Arch>::Decoder::default(); armv7_t.set_thumb_mode(true); @@ -35,6 +37,7 @@ fn test_armv7_thumb_does_not_panic() { } } #[test] +#[ignore] fn test_armv8_does_not_panic() { let armv8 = <yaxpeax_arm::armv8::a64::ARMv8 as Arch>::Decoder::default(); |