aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2024-11-11 17:20:54 -0700
committerMelody Horn <melody@boringcactus.com>2024-11-11 17:20:54 -0700
commitdfb51bfebd0d5c22e82d2a73412a19c3e0599524 (patch)
tree285b73276cbe6f6ba1808b3db4482c6c7b01649a /tests
parent4f9299b4639802e05e1cb27d8eb40305ff8e110e (diff)
downloadmakers-dfb51bfebd0d5c22e82d2a73412a19c3e0599524.tar.gz
makers-dfb51bfebd0d5c22e82d2a73412a19c3e0599524.zip
remember the posix mode
i should either delete or overhaul that at some point
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()?;