aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--tests/test.rs3
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();