aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/conditional_assignment_inheritance.rs3
-rw-r--r--tests/rule_specific_macros.rs5
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/conditional_assignment_inheritance.rs b/tests/conditional_assignment_inheritance.rs
index cb7e806..24f0533 100644
--- a/tests/conditional_assignment_inheritance.rs
+++ b/tests/conditional_assignment_inheritance.rs
@@ -1,10 +1,11 @@
+#![cfg(feature = "full")]
+
mod utils;
use std::fs;
use utils::{make, R};
#[test]
-#[cfg(feature = "full")]
fn conditional_assignment_inheritance_test() -> R {
let dir = tempfile::tempdir()?;
diff --git a/tests/rule_specific_macros.rs b/tests/rule_specific_macros.rs
index 8cc9c12..34e7e77 100644
--- a/tests/rule_specific_macros.rs
+++ b/tests/rule_specific_macros.rs
@@ -1,10 +1,11 @@
+#![cfg(feature = "full")]
+
mod utils;
use std::fs;
use utils::{make, R};
#[test]
-#[cfg(feature = "full")]
fn target_specific_macros() -> R {
let dir = tempfile::tempdir()?;
@@ -26,7 +27,6 @@ foo.h:
#[test]
#[ignore = "not yet implemented"]
-#[cfg(feature = "full")]
fn target_specific_macros_inherited() -> R {
let dir = tempfile::tempdir()?;
@@ -54,7 +54,6 @@ prog : prog.o foo.o bar.o
#[test]
#[ignore = "not yet implemented"]
-#[cfg(feature = "full")]
fn inference_rule_specific_macros() -> R {
let dir = tempfile::tempdir()?;