Skip to content

Commit b1eb9a9

Browse files
ryanbreenclaude
andcommitted
Add missing test_checkpoints.rs module
The test_checkpoint! macro was being used in main.rs but the module file was never committed, causing CI build failures. This module provides checkpoint markers for fast, signal-driven testing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ae84d42 commit b1eb9a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

kernel/src/test_checkpoints.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//! Test checkpoint infrastructure for fast, signal-driven testing
2+
//!
3+
//! Only compiled when cfg(feature = "testing") is enabled.
4+
5+
/// Emit a test checkpoint marker to serial output
6+
/// Format: [CHECKPOINT:name]
7+
#[macro_export]
8+
macro_rules! test_checkpoint {
9+
($name:expr) => {
10+
#[cfg(feature = "testing")]
11+
{
12+
log::info!("[CHECKPOINT:{}]", $name);
13+
}
14+
};
15+
}

0 commit comments

Comments
 (0)